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

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

Issue 6732040: PyAuto automation hooks: blocking wifi connect, disconnect, and network scan. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes per comments. 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 81c0294caf0e1cdef098d51834cff5f880624881..d065f5c970f9e8cb4377b336ee37fcc822d359df 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2085,8 +2085,11 @@ void TestingAutomationProvider::SendJSONRequest(int handle,
&TestingAutomationProvider::SignoutInScreenLocker;
handler_map["GetNetworkInfo"] = &TestingAutomationProvider::GetNetworkInfo;
+ handler_map["NetworkScan"] = &TestingAutomationProvider::NetworkScan;
handler_map["ConnectToWifiNetwork"] =
&TestingAutomationProvider::ConnectToWifiNetwork;
+ handler_map["DisconnectFromWifiNetwork"] =
+ &TestingAutomationProvider::DisconnectFromWifiNetwork;
#endif // defined(OS_CHROMEOS)
std::map<std::string, BrowserJsonHandler> browser_handler_map;

Powered by Google App Engine
This is Rietveld 408576698