Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / extensions / common / api / system_memory.idl
blob64af21489034638734a8db6b21229b76b5f97a67
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // The <code>chrome.system.memory</code> API.
6 namespace system.memory {
8 dictionary MemoryInfo {
9 // The total amount of physical memory capacity, in bytes.
10 double capacity;
11 // The amount of available capacity, in bytes.
12 double availableCapacity;
15 callback MemoryInfoCallback = void (MemoryInfo info);
17 interface Functions {
18 // Get physical memory information.
19 static void getInfo(MemoryInfoCallback callback);