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

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

Issue 2578363002: Wire up download attribution enable finch experiment (Closed)
Patch Set: Remove unnecessary includes Created 4 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
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 27e15b03e9de51ac031f5fda6557acc9ee0be8dc..7e7668e6afa2e9886ecc0e9f1e9ea0adb26b30df 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -49,6 +49,7 @@ class DownloadProtectionService;
struct ResourceRequestInfo;
struct SafeBrowsingProtocolConfig;
class SafeBrowsingDatabaseManager;
+class SafeBrowsingNavigationObserverManager;
class SafeBrowsingPingManager;
class SafeBrowsingProtocolManager;
class SafeBrowsingProtocolManagerDelegate;
@@ -129,6 +130,9 @@ class SafeBrowsingService : public base::RefCountedThreadSafe<
// the experiment settings.
const scoped_refptr<SafeBrowsingDatabaseManager>& database_manager() const;
+ scoped_refptr<SafeBrowsingNavigationObserverManager>
+ navigation_observer_manager();
+
SafeBrowsingProtocolManager* protocol_manager() const;
SafeBrowsingPingManager* ping_manager() const;
@@ -291,6 +295,10 @@ class SafeBrowsingService : public base::RefCountedThreadSafe<
// both UI and IO thread.
scoped_refptr<SafeBrowsingDatabaseManager> database_manager_;
+ // The navigation observer manager handles download attribution.
+ scoped_refptr<SafeBrowsingNavigationObserverManager>
+ navigation_observer_manager_;
+
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingService);
};

Powered by Google App Engine
This is Rietveld 408576698