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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 2720643003: Call CSD whitelist checking on UI thread and record UMA (Closed)
Patch Set: change source_set name Created 3 years, 10 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/BUILD.gn ('k') | chrome/browser/safe_browsing/safe_browsing_service.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_service.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
index 42efd31b6c2311263d1c873c9e5c6fe840666950..a1085b934e9408189a152f6bdf297fe45aa4de27 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -48,6 +48,7 @@ class URLRequestContextGetter;
namespace safe_browsing {
class ClientSideDetectionService;
class DownloadProtectionService;
+class PasswordProtectionService;
struct ResourceRequestInfo;
struct SafeBrowsingProtocolConfig;
class SafeBrowsingDatabaseManager;
@@ -157,6 +158,8 @@ class SafeBrowsingService : public base::RefCountedThreadSafe<
const scoped_refptr<SafeBrowsingDatabaseManager>& v4_local_database_manager()
const;
+ PasswordProtectionService* password_protection_service();
+
// Returns a preference validation delegate that adds incidents to the
// incident reporting service for validation failures. Returns NULL if the
// service is not applicable for the given profile.
@@ -334,6 +337,10 @@ class SafeBrowsingService : public base::RefCountedThreadSafe<
scoped_refptr<SafeBrowsingNavigationObserverManager>
navigation_observer_manager_;
+ // The password protection service detects and handles password related
+ // incidents.
+ std::unique_ptr<PasswordProtectionService> password_protection_service_;
+
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingService);
};
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698