diff --git a/chrome/chrome.d.ts b/chrome/chrome.d.ts index 5d7c79d12d..f9af3af941 100755 --- a/chrome/chrome.d.ts +++ b/chrome/chrome.d.ts @@ -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 ////////////////////