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

Unified Diff: chrome/browser/download/download_shelf_context_menu.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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/extensions/extension_webnavigation_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_shelf_context_menu.cc
diff --git a/chrome/browser/download/download_shelf_context_menu.cc b/chrome/browser/download/download_shelf_context_menu.cc
index 65807aac74660da78946e2a31bf953712e5ecd7b..e30ab2b00afeaa41bb1cb8a719e05ce3442656c0 100644
--- a/chrome/browser/download/download_shelf_context_menu.cc
+++ b/chrome/browser/download/download_shelf_context_menu.cc
@@ -111,7 +111,7 @@ void DownloadShelfContextMenu::ExecuteCommand(int command_id) {
DCHECK(browser && browser->is_type_tabbed());
GURL learn_more_url(chrome::kDownloadScanningLearnMoreURL);
OpenURLParams params(google_util::AppendGoogleLocaleParam(learn_more_url),
- GURL(), NEW_FOREGROUND_TAB,
+ content::Referrer(), NEW_FOREGROUND_TAB,
content::PAGE_TRANSITION_TYPED, false);
browser->OpenURL(params);
break;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/extensions/extension_webnavigation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698