Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4525)

Unified Diff: chrome/common/extensions/api/system_memory.idl

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn build Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/system_memory.idl
diff --git a/chrome/common/extensions/api/system_memory.idl b/chrome/common/extensions/api/system_memory.idl
deleted file mode 100644
index 64af21489034638734a8db6b21229b76b5f97a67..0000000000000000000000000000000000000000
--- 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);
- };
-};

Powered by Google App Engine
This is Rietveld 408576698