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

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

Issue 10383174: Convert the CollectedCookies interactive_ui_tests to a browser_test. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
===================================================================
--- 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) {
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.h ('k') | chrome/browser/collected_cookies_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698