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

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

Issue 910953002: Move SafeBrowsing to the blocking pool via an experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/safe_browsing/database_manager.h
diff --git a/chrome/browser/safe_browsing/database_manager.h b/chrome/browser/safe_browsing/database_manager.h
index d23962098db0394da3ae06cf5dd4147d9da94569..389150d49c4582e2e1945d6b02a3e5ccb50ef167 100644
--- a/chrome/browser/safe_browsing/database_manager.h
+++ b/chrome/browser/safe_browsing/database_manager.h
@@ -399,6 +399,10 @@ class SafeBrowsingDatabaseManager
// cause a race condition at shutdown time that leads to a database leak.
scoped_ptr<base::Thread> safe_browsing_thread_;
+ // The sequenced task runner for this object, used to verify that its state
+ // is only ever accessed in sequence via the runner.
gab 2015/02/19 14:38:23 It's mainly used to post tasks to the safe_browsin
Alexei Svitkine (slow) 2015/02/20 15:42:44 Indeed. Updated comment.
+ scoped_refptr<base::SequencedTaskRunner> safe_browsing_task_runner_;
+
// Indicates if we're currently in an update cycle.
bool update_in_progress_;
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/database_manager.cc » ('j') | chrome/browser/safe_browsing/database_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698