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

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

Issue 10905171: Add systemInfo.cpu.onUpdated event implementation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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/experimental_system_info_cpu.idl
diff --git a/chrome/common/extensions/api/experimental_system_info_cpu.idl b/chrome/common/extensions/api/experimental_system_info_cpu.idl
index cc01114db9282dfc4be9e3fa75183b355fa3c2f9..5e2308b3c0ce558b8bd6ac46bc68eb7ed6d0a7d5 100644
--- a/chrome/common/extensions/api/experimental_system_info_cpu.idl
+++ b/chrome/common/extensions/api/experimental_system_info_cpu.idl
@@ -28,4 +28,10 @@ namespace experimental.systemInfo.cpu {
// Get CPU information.
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