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

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

Issue 2855643002: Very basic change to add a TriggerManager class owned by SafeBrowsingService. (Closed)
Patch Set: Fix copyright date 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
« 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 c28a4442e1ea3d74af3e8afc1653d0de4e28addd..f18e7700b192941653635ac2317d60ce094ad5ed 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -65,6 +65,7 @@ class SafeBrowsingProtocolManagerDelegate;
class SafeBrowsingServiceFactory;
class SafeBrowsingUIManager;
class SafeBrowsingURLRequestContextGetter;
+class TriggerManager;
struct V4ProtocolConfig;
// Construction needs to happen on the main thread.
@@ -281,6 +282,8 @@ class SafeBrowsingService : public base::RefCountedThreadSafe<
void RemovePasswordProtectionService(Profile* profile);
+ void CreateTriggerManager();
+
// The factory used to instantiate a SafeBrowsingService object.
// Useful for tests, so they can provide their own implementation of
// SafeBrowsingService.
@@ -356,6 +359,8 @@ class SafeBrowsingService : public base::RefCountedThreadSafe<
std::map<Profile*, std::unique_ptr<ChromePasswordProtectionService>>
password_protection_service_map_;
+ std::unique_ptr<TriggerManager> trigger_manager_;
+
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