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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 6760013: GetBatteryInfo() battery automation hook. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index b93d9a079f084b30a9a0e8ab9959b4e908f79e7e..8ecfad8de3abb0c91ce547b0114e310fe0eba24f 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2086,6 +2086,8 @@ void TestingAutomationProvider::SendJSONRequest(int handle,
handler_map["SignoutInScreenLocker"] =
&TestingAutomationProvider::SignoutInScreenLocker;
+ handler_map["GetBatteryInfo"] = &TestingAutomationProvider::GetBatteryInfo;
+
handler_map["GetNetworkInfo"] = &TestingAutomationProvider::GetNetworkInfo;
handler_map["NetworkScan"] = &TestingAutomationProvider::NetworkScan;
handler_map["ConnectToWifiNetwork"] =

Powered by Google App Engine
This is Rietveld 408576698