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

Unified Diff: chrome/browser/privacy_blacklist/blacklist_manager.h

Issue 399016: Fix race conditions where an object's constructor uses PostTask on itself. T... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/privacy_blacklist/blacklist_manager.h
===================================================================
--- chrome/browser/privacy_blacklist/blacklist_manager.h (revision 32148)
+++ chrome/browser/privacy_blacklist/blacklist_manager.h (working copy)
@@ -33,7 +33,8 @@
public base::RefCountedThreadSafe<BlacklistManager,
ChromeThread::DeleteOnUIThread> {
public:
- BlacklistManager(Profile* profile, BlacklistPathProvider* path_provider);
+ BlacklistManager();
+ void Initialize(Profile* profile, BlacklistPathProvider* path_provider);
const Blacklist* GetCompiledBlacklist() const {
// TODO(phajdan.jr): Determine on which thread this should be invoked (IO?).

Powered by Google App Engine
This is Rietveld 408576698