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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/render_view_host_delegate.h ('k') | chrome/browser/session_restore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (revision 3991)
+++ chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (working copy)
@@ -150,7 +150,7 @@
} else {
NOTREACHED();
}
- web->OpenURL(url, CURRENT_TAB, PageTransition::LINK);
+ web->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::LINK);
return;
}
if (command == "3") {
@@ -162,7 +162,7 @@
safe_browsing_util::GeneratePhishingReportUrl(kSbReportPhishingUrl,
url().spec());
web->HideInterstitialPage(false, false);
- web->OpenURL(report_url, CURRENT_TAB, PageTransition::LINK);
+ web->OpenURL(report_url, GURL(), CURRENT_TAB, PageTransition::LINK);
return;
}
if (command == "4") {
@@ -174,7 +174,7 @@
diagnostic_url = google_util::AppendGoogleLocaleParam(diagnostic_url);
DCHECK(result_ == SafeBrowsingService::URL_MALWARE);
web->HideInterstitialPage(false, false);
- web->OpenURL(diagnostic_url, CURRENT_TAB, PageTransition::LINK);
+ web->OpenURL(diagnostic_url, GURL(), CURRENT_TAB, PageTransition::LINK);
return;
}
« no previous file with comments | « chrome/browser/render_view_host_delegate.h ('k') | chrome/browser/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698