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

Unified Diff: chrome/browser/ui/login/login_prompt_browsertest.cc

Issue 8784006: Replace the GURL referrer field of OpenURLParams with a content::Referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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/ui/login/login_prompt_browsertest.cc
diff --git a/chrome/browser/ui/login/login_prompt_browsertest.cc b/chrome/browser/ui/login/login_prompt_browsertest.cc
index b3746e05230ed70dcabca7e281b3322e80de134a..60eb95ea3dc03ba6ab5e2f33ae2765ed2ef68225 100644
--- a/chrome/browser/ui/login/login_prompt_browsertest.cc
+++ b/chrome/browser/ui/login/login_prompt_browsertest.cc
@@ -682,13 +682,13 @@ IN_PROC_BROWSER_TEST_F(LoginPromptBrowserTest, SupplyRedundantAuths) {
WindowedAuthNeededObserver auth_needed_waiter_2(controller_2);
contents_1->tab_contents()->OpenURL(OpenURLParams(
test_server()->GetURL("auth-basic/1"),
- GURL(),
+ content::Referrer(),
CURRENT_TAB,
content::PAGE_TRANSITION_TYPED,
false));
contents_2->tab_contents()->OpenURL(OpenURLParams(
test_server()->GetURL("auth-basic/2"),
- GURL(),
+ content::Referrer(),
CURRENT_TAB,
content::PAGE_TRANSITION_TYPED,
false));
@@ -748,13 +748,13 @@ IN_PROC_BROWSER_TEST_F(LoginPromptBrowserTest, CancelRedundantAuths) {
WindowedAuthNeededObserver auth_needed_waiter_2(controller_2);
contents_1->tab_contents()->OpenURL(OpenURLParams(
test_server()->GetURL("auth-basic/1"),
- GURL(),
+ content::Referrer(),
CURRENT_TAB,
content::PAGE_TRANSITION_TYPED,
false));
contents_2->tab_contents()->OpenURL(OpenURLParams(
test_server()->GetURL("auth-basic/2"),
- GURL(),
+ content::Referrer(),
CURRENT_TAB,
content::PAGE_TRANSITION_TYPED,
false));
@@ -815,13 +815,13 @@ IN_PROC_BROWSER_TEST_F(LoginPromptBrowserTest,
controller_incognito);
contents->tab_contents()->OpenURL(OpenURLParams(
test_server()->GetURL("auth-basic/1"),
- GURL(),
+ content::Referrer(),
CURRENT_TAB,
content::PAGE_TRANSITION_TYPED,
false));
contents_incognito->tab_contents()->OpenURL(OpenURLParams(
test_server()->GetURL("auth-basic/2"),
- GURL(),
+ content::Referrer(),
CURRENT_TAB,
content::PAGE_TRANSITION_TYPED,
false));
« no previous file with comments | « chrome/browser/ui/gtk/view_id_util_browsertest.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698