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

Unified Diff: chrome/browser/automation/automation_provider_win.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: 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/automation/automation_provider_win.cc
diff --git a/chrome/browser/automation/automation_provider_win.cc b/chrome/browser/automation/automation_provider_win.cc
index 7397ca0bec56bec4376def5bf2f1625b4bd843fe..b3f14d2378c1dc65750b3d90ec7214b7224ea2b4 100644
--- a/chrome/browser/automation/automation_provider_win.cc
+++ b/chrome/browser/automation/automation_provider_win.cc
@@ -368,7 +368,10 @@ void AutomationProvider::NavigateInExternalTab(
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* tab = tab_tracker_->GetResource(handle);
- tab->LoadURL(url, referrer, content::PAGE_TRANSITION_TYPED, std::string());
+ tab->LoadURL(
+ url,
+ content::Referrer(referrer, WebKit::WebReferrerPolicyDefault),
Avi (use Gerrit) 2011/12/05 02:33:48 Huh. I'm not sure I've seen WebKit types directly
+ content::PAGE_TRANSITION_TYPED, std::string());
*status = AUTOMATION_MSG_NAVIGATION_SUCCESS;
}
}
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | chrome/browser/external_tab_container_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698