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

Unified Diff: components/safe_browsing/base_ui_manager.h

Issue 2886043002: Refrain from sending hit report when user is in incognito mode (Closed)
Patch Set: fixed comment typo 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.h
diff --git a/components/safe_browsing/base_ui_manager.h b/components/safe_browsing/base_ui_manager.h
index 1230417c2424fb31b122b51680a91fdbe92b7888..5a1785c216f4a9dc23770a844355c5c269ed7ad9 100644
--- a/components/safe_browsing/base_ui_manager.h
+++ b/components/safe_browsing/base_ui_manager.h
@@ -63,7 +63,8 @@ class BaseUIManager
// to the unsafe contents (malware, phishing, unsafe download URL)
// to the server. Can only be called on UI thread.
vakh (use Gerrit instead) 2017/05/19 22:41:13 Please update this comment also to include the Inc
mortonm 2017/05/22 17:03:59 Done.
virtual void MaybeReportSafeBrowsingHit(
- const safe_browsing::HitReport& hit_report);
+ const safe_browsing::HitReport& hit_report,
+ content::WebContents* web_contents);
// A convenience wrapper method for IsUrlWhitelistedOrPendingForWebContents.
virtual bool IsWhitelisted(const UnsafeResource& resource);

Powered by Google App Engine
This is Rietveld 408576698