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

Side by Side Diff: chrome/browser/repost_form_warning_browsertest.cc

Issue 320253004: Componentize URLFixerUpper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win64 fix Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/app/chrome_command_ids.h" 5 #include "chrome/app/chrome_command_ids.h"
6 #include "chrome/browser/chrome_notification_types.h" 6 #include "chrome/browser/chrome_notification_types.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 8 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "chrome/common/net/url_fixer_upper.h"
10 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
11 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
12 #include "chrome/test/base/ui_test_utils.h" 11 #include "chrome/test/base/ui_test_utils.h"
13 #include "components/web_modal/web_contents_modal_dialog_manager.h" 12 #include "components/web_modal/web_contents_modal_dialog_manager.h"
14 #include "content/public/browser/navigation_controller.h" 13 #include "content/public/browser/navigation_controller.h"
15 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
16 #include "content/public/test/test_navigation_observer.h" 15 #include "content/public/test/test_navigation_observer.h"
17 #include "net/test/spawned_test_server/spawned_test_server.h" 16 #include "net/test/spawned_test_server/spawned_test_server.h"
18 17
19 using web_modal::WebContentsModalDialogManager; 18 using web_modal::WebContentsModalDialogManager;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 82
84 // Navigate away from the page. We can't use ui_test_utils:NavigateToURL 83 // Navigate away from the page. We can't use ui_test_utils:NavigateToURL
85 // because that waits for the current page to stop loading first, which won't 84 // because that waits for the current page to stop loading first, which won't
86 // happen while the auth dialog is up. 85 // happen while the auth dialog is up.
87 content::TestNavigationObserver navigation_observer(web_contents); 86 content::TestNavigationObserver navigation_observer(web_contents);
88 browser()->OpenURL(content::OpenURLParams( 87 browser()->OpenURL(content::OpenURLParams(
89 test_server()->GetURL("bar"), content::Referrer(), CURRENT_TAB, 88 test_server()->GetURL("bar"), content::Referrer(), CURRENT_TAB,
90 content::PAGE_TRANSITION_TYPED, false)); 89 content::PAGE_TRANSITION_TYPED, false));
91 navigation_observer.Wait(); 90 navigation_observer.Wait();
92 } 91 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698