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

Unified Diff: chrome/common/extensions/api/experimental_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/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
deleted file mode 100644
index 5e2308b3c0ce558b8bd6ac46bc68eb7ed6d0a7d5..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/experimental_system_info_cpu.idl
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 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.
-
-// File-level comment to appease parser. Eventually this will not be necessary.
-namespace experimental.systemInfo.cpu {
-
- dictionary CpuInfo {
- // The number of logical processors.
- long numOfProcessors;
- // The architecture name of the processors.
- DOMString archName;
- // The model name of the processors.
- 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 {
- // 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