mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Added/Updated system.memory /w docs
This commit is contained in:
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