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

Unified Diff: components/safe_browsing/base_ui_manager.cc

Issue 2886043002: Refrain from sending hit report when user is in incognito mode (Closed)
Patch Set: ready for review Created 3 years, 7 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
Index: components/safe_browsing/base_ui_manager.cc
diff --git a/components/safe_browsing/base_ui_manager.cc b/components/safe_browsing/base_ui_manager.cc
index cd8940d9e1c7ecd423f80e290a6704881c332224..c6b3de970f9d08515120b683a794f318e23c2726 100644
--- a/components/safe_browsing/base_ui_manager.cc
+++ b/components/safe_browsing/base_ui_manager.cc
@@ -248,7 +248,8 @@ void BaseUIManager::ShowBlockingPageForResource(
// or after the warning dialog for download urls, only for
// UMA || extended_reporting users.
Jialiu Lin 2017/05/18 22:32:12 This comment is no longer accurate. Could you upda
mortonm 2017/05/19 20:21:03 Done.
void BaseUIManager::MaybeReportSafeBrowsingHit(
- const HitReport& hit_report) {
+ const HitReport& hit_report,
+ content::WebContents* web_contents) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
return;
}
« chrome/browser/safe_browsing/ui_manager.cc ('K') | « components/safe_browsing/base_ui_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698