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

Unified Diff: components/safe_browsing_db/database_manager.h

Issue 2648193002: SafeBrowsing: Move enabled_ to base class DB Manager (Closed)
Patch Set: Fix compile error Created 3 years, 11 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_db/database_manager.h
diff --git a/components/safe_browsing_db/database_manager.h b/components/safe_browsing_db/database_manager.h
index 018bf15ba546c50f70aed9aead221bb112692f65..d3b43bf6ef01c3290c4ae864f16f240c0aa085e5 100644
--- a/components/safe_browsing_db/database_manager.h
+++ b/components/safe_browsing_db/database_manager.h
@@ -262,6 +262,10 @@ class SafeBrowsingDatabaseManager
// responsible for deleting them when removing from the set.
ApiCheckSet api_checks_;
+ // Whether the service is running. 'enabled_' is used by the
+ // SafeBrowsingDatabaseManager on the IO thread during normal operations.
+ bool enabled_;
+
// Created and destroyed via StartOnIOThread/StopOnIOThread.
std::unique_ptr<V4GetHashProtocolManager> v4_get_hash_protocol_manager_;

Powered by Google App Engine
This is Rietveld 408576698