mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Added/Updated system.memory /w docs
This commit is contained in:
1 parent
d60a111f6c
commit
7de3e6aeb6
1 file changed
+20
Vendored
+20
@@ -6106,6 +6106,26 @@ declare module chrome.system.cpu {
|
||||
export function getInfo(callback: (info: CpuInfo) => void): void;
|
||||
}
|
||||
|
||||
////////////////////
|
||||
// System Memory
|
||||
////////////////////
|
||||
/**
|
||||
* The chrome.system.memory API.
|
||||
* Permissions: "system.memory"
|
||||
* @since Chrome 32.
|
||||
*/
|
||||
declare module chrome.system.memory {
|
||||
interface MemoryInfo {
|
||||
/** The total amount of physical memory capacity, in bytes. */
|
||||
capacity: number;
|
||||
/** The amount of available capacity, in bytes. */
|
||||
availableCapacity: number;
|
||||
}
|
||||
|
||||
/** Get physical memory information. */
|
||||
export function getInfo(callback: (info: MemoryInfo) => void): void;
|
||||
}
|
||||
|
||||
////////////////////
|
||||
// TabCapture
|
||||
////////////////////
|
||||
|
||||
Reference in new issue
Block a user