Index: chrome/browser/automation/testing_automation_provider.cc |
=================================================================== |
--- chrome/browser/automation/testing_automation_provider.cc (revision 137005) |
+++ chrome/browser/automation/testing_automation_provider.cc (working copy) |
@@ -358,8 +358,6 @@ |
IPC_MESSAGE_HANDLER(AutomationMsg_GetCookies, GetCookies) |
IPC_MESSAGE_HANDLER(AutomationMsg_SetCookie, SetCookie) |
IPC_MESSAGE_HANDLER(AutomationMsg_DeleteCookie, DeleteCookie) |
- IPC_MESSAGE_HANDLER(AutomationMsg_ShowCollectedCookiesDialog, |
- ShowCollectedCookiesDialog) |
IPC_MESSAGE_HANDLER_DELAY_REPLY( |
AutomationMsg_NavigateToURLBlockUntilNavigationsComplete, |
NavigateToURLBlockUntilNavigationsComplete) |
@@ -681,19 +679,6 @@ |
automation_util::DeleteCookie(url, cookie_name, contents, success); |
} |
-void TestingAutomationProvider::ShowCollectedCookiesDialog( |
- int handle, bool* success) { |
- *success = false; |
- if (tab_tracker_->ContainsHandle(handle)) { |
- NavigationController* controller = tab_tracker_->GetResource(handle); |
- WebContents* tab_contents = controller->GetWebContents(); |
- Browser* browser = Browser::GetBrowserForController(controller, NULL); |
- browser->ShowCollectedCookiesDialog( |
- TabContentsWrapper::GetCurrentWrapperForContents(tab_contents)); |
- *success = true; |
- } |
-} |
- |
void TestingAutomationProvider::NavigateToURLBlockUntilNavigationsComplete( |
int handle, const GURL& url, int number_of_navigations, |
IPC::Message* reply_message) { |