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

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: Merge. 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 aac7f736e7d08648fc91806229817c9dd1682dbb..2a14cb9c257a8caf94ca3fccff6502b139013619 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2073,6 +2073,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