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

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

Issue 15817008: Move systemInfo.cpu API out out experimental namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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_info_cpu.idl
diff --git a/chrome/common/extensions/api/system_info_cpu.idl b/chrome/common/extensions/api/system_info_cpu.idl
index 99cdcada64b45c2be7419599b180b5c3fa99ed4c..ee61007b39068acbef424f24bacaef011480ba53 100644
--- a/chrome/common/extensions/api/system_info_cpu.idl
+++ b/chrome/common/extensions/api/system_info_cpu.idl
@@ -14,24 +14,10 @@ namespace systemInfo.cpu {
DOMString modelName;
};
- dictionary CpuUpdateInfo {
- // The average usage percent of all processors, as a number
- // between 0 and 100.
- double averageUsage;
- // The CPU usage array for each logic processor.
- double[] usagePerProcessor;
- };
-
callback CpuInfoCallback = void (CpuInfo info);
interface Functions {
// Queries basic CPU information of the system.
static void get(CpuInfoCallback callback);
};
-
- interface Events {
- // Fired periodically to report CPU history usage information. The default
- // period interval is 1 seconds.
- static void onUpdated(CpuUpdateInfo info);
- };
};

Powered by Google App Engine
This is Rietveld 408576698