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

Unified Diff: chrome/browser/ui/auto_login_prompter.cc

Issue 8785004: Change NavigationController::LoadURL to take a Referrer class instead of a GURL as 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
« no previous file with comments | « chrome/browser/translate/translate_manager_browsertest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/auto_login_prompter.cc
diff --git a/chrome/browser/ui/auto_login_prompter.cc b/chrome/browser/ui/auto_login_prompter.cc
index 132c91849bec62bb272c320fc4b69c2d591cdba9..60eb89d8b1e41b9bb18ab47c56b5dab9b05deaa6 100644
--- a/chrome/browser/ui/auto_login_prompter.cc
+++ b/chrome/browser/ui/auto_login_prompter.cc
@@ -129,7 +129,8 @@ void AutoLoginRedirector::RedirectToMergeSession(const std::string& token) {
navigation_controller_->LoadURL(
GURL(GaiaUrls::GetInstance()->merge_session_url() +
"?source=chrome&uberauth=" + token + "&" + unescaped_args),
- GURL(), content::PAGE_TRANSITION_AUTO_BOOKMARK, std::string());
+ content::Referrer(), content::PAGE_TRANSITION_AUTO_BOOKMARK,
+ std::string());
}
« no previous file with comments | « chrome/browser/translate/translate_manager_browsertest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698