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

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

Issue 2802593005: extensions: Add CPU temperatures field to system.cpu.getInfo() function (Closed)
Patch Set: Respond to Devlin's comments 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..7b56cee104de585e4998fa9bd51c56b474fad1d0 100644
--- a/extensions/common/api/system_cpu.idl
+++ b/extensions/common/api/system_cpu.idl
@@ -44,6 +44,11 @@ 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. Currently supported on Chrome OS
tbarzic 2017/04/27 17:50:19 nit: I'd put "Chrome OS only" part in a separate p
Simon Que 2017/04/27 17:59:55 Done.
+ // only.
+ double[] temperatures;
};
callback CpuInfoCallback = void (CpuInfo info);

Powered by Google App Engine
This is Rietveld 408576698