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

Unified Diff: extensions/common/api/system_cpu.idl

Issue 2802593005: extensions: Add CPU temperatures field to system.cpu.getInfo() function (Closed)
Patch Set: Responded to tbarzic's feedback Created 3 years, 8 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: extensions/common/api/system_cpu.idl
diff --git a/extensions/common/api/system_cpu.idl b/extensions/common/api/system_cpu.idl
index bb3ac857f0db1a30dbfed6f0f328674e7d99fa51..e96226176d650f2457bce747989b82c933197342 100644
--- a/extensions/common/api/system_cpu.idl
+++ b/extensions/common/api/system_cpu.idl
@@ -44,6 +44,12 @@ namespace system.cpu {
// Information about each logical processor.
ProcessorInfo[] processors;
+
+ // List of CPU temperature readings from each thermal zone of the CPU.
+ // Temperatures are in degrees Celsius.
+ //
+ // <b>Currently supported on Chrome OS only.</b>
+ double[] temperatures;
};
callback CpuInfoCallback = void (CpuInfo info);
« no previous file with comments | « extensions/browser/api/system_cpu/system_cpu_apitest.cc ('k') | extensions/test/data/system/cpu/test_cpu_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698