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

Unified Diff: extensions/test/data/system/cpu/test_cpu_api.js

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/test/data/system/cpu/test_cpu_api.js
diff --git a/extensions/test/data/system/cpu/test_cpu_api.js b/extensions/test/data/system/cpu/test_cpu_api.js
index 746b46e9c486fa918b7ea65a262ebcc9200222e2..ff7f978cac5565a1fd665923836764a0d02d206b 100644
--- a/extensions/test/data/system/cpu/test_cpu_api.js
+++ b/extensions/test/data/system/cpu/test_cpu_api.js
@@ -22,6 +22,7 @@ chrome.test.runTests([
chrome.test.assertEq("unknown", result.modelName);
chrome.test.assertEq(["mmx", "avx"], result.features);
chrome.test.assertEq(expectedProcessors, result.processors);
+ chrome.test.assertEq([30.125, 40.0625], result.temperatures);
}));
}
}
« extensions/common/api/system_cpu.idl ('K') | « extensions/common/api/system_cpu.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698