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

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

Issue 2802593005: extensions: Add CPU temperatures field to system.cpu.getInfo() function (Closed)
Patch Set: Remove changes to base::SysInfo 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..13e72de7365691710f61feceab1c73fe4a4dccb6 100644
--- a/extensions/common/api/system_cpu.idl
+++ b/extensions/common/api/system_cpu.idl
@@ -44,6 +44,10 @@ 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.
Devlin 2017/04/26 02:04:59 Mention this is CrOS only.
Simon Que 2017/04/26 02:27:21 Done.
+ double[] temperatures;
};
callback CpuInfoCallback = void (CpuInfo info);

Powered by Google App Engine
This is Rietveld 408576698