diff options
author | kaznacheev@chromium.org <kaznacheev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 13:48:45 +0000 |
---|---|---|
committer | kaznacheev@chromium.org <kaznacheev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-19 13:48:45 +0000 |
commit | 5d0b4247c0fb55d7c5b6eca8bd525da44c6acc8a (patch) | |
tree | 3c77ba7a911e2d882588b2163e6c9e051ae4f3f7 /chrome/common/extensions/api/system_memory.idl | |
parent | 3298f0c11e2f3f6146962e7485a64c716b47582e (diff) | |
download | chromium_src-5d0b4247c0fb55d7c5b6eca8bd525da44c6acc8a.zip chromium_src-5d0b4247c0fb55d7c5b6eca8bd525da44c6acc8a.tar.gz chromium_src-5d0b4247c0fb55d7c5b6eca8bd525da44c6acc8a.tar.bz2 |
Revert 212538 "[SystemInfo API] Rename systemInfo Memory API."
> [SystemInfo API] Rename systemInfo Memory API.
>
> Rename from "systemInfo.memory.get" to "system.memory.getInfo".
>
> BUG=252994
> TEST=browser_tests --gtest_filter=SystemMemoryApiTest.*
>
> Review URL: https://chromiumcodereview.appspot.com/18863014
TBR=Hokein.Wu@gmail.com
Review URL: https://codereview.chromium.org/19492009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/system_memory.idl')
-rw-r--r-- | chrome/common/extensions/api/system_memory.idl | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/chrome/common/extensions/api/system_memory.idl b/chrome/common/extensions/api/system_memory.idl deleted file mode 100644 index 64af214..0000000 --- a/chrome/common/extensions/api/system_memory.idl +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// The <code>chrome.system.memory</code> API. -namespace system.memory { - - dictionary MemoryInfo { - // The total amount of physical memory capacity, in bytes. - double capacity; - // The amount of available capacity, in bytes. - double availableCapacity; - }; - - callback MemoryInfoCallback = void (MemoryInfo info); - - interface Functions { - // Get physical memory information. - static void getInfo(MemoryInfoCallback callback); - }; -}; |