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 09b66736b8342b61d42d3f83977ab601cbb3ca51..94ff95e0d794cfcd64cc914598e122f02ef32b0d 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -1312,9 +1312,7 @@ void TestingAutomationProvider::GetFullscreenBubbleVisibility(int handle, |
} |
} |
-namespace { |
- |
-void ExecuteJavascriptInRenderViewFrame( |
+void TestingAutomationProvider::ExecuteJavascriptInRenderViewFrame( |
const string16& frame_xpath, |
const string16& script, |
IPC::Message* reply_message, |
@@ -1330,8 +1328,6 @@ void ExecuteJavascriptInRenderViewFrame( |
frame_xpath, script); |
} |
-} // namespace |
- |
void TestingAutomationProvider::ExecuteJavascript( |
int handle, |
const std::wstring& frame_xpath, |
@@ -2275,6 +2271,8 @@ void TestingAutomationProvider::SendJSONRequest(int handle, |
handler_map["GetLoginInfo"] = &TestingAutomationProvider::GetLoginInfo; |
handler_map["ShowCreateAccountUI"] = |
&TestingAutomationProvider::ShowCreateAccountUI; |
+ handler_map["ExecuteJavascriptInOOBEWebUI"] = |
+ &TestingAutomationProvider::ExecuteJavascriptInOOBEWebUI; |
handler_map["LoginAsGuest"] = &TestingAutomationProvider::LoginAsGuest; |
handler_map["Login"] = &TestingAutomationProvider::Login; |