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

Unified Diff: chrome/browser/profiles/profile_keyed_base_factory.h

Issue 13454032: Extract DependencyGraph from ProfileDependencyManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added tests Created 7 years, 8 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/profiles/profile_keyed_base_factory.h
diff --git a/chrome/browser/profiles/profile_keyed_base_factory.h b/chrome/browser/profiles/profile_keyed_base_factory.h
index 3d9899f1d5641f5779ebe8d6e1a7a1a9270c319b..0b5ee1b0eb428459257e5840a472af889ef5495e 100644
--- a/chrome/browser/profiles/profile_keyed_base_factory.h
+++ b/chrome/browser/profiles/profile_keyed_base_factory.h
@@ -8,6 +8,7 @@
#include <set>
#include "base/threading/non_thread_safe.h"
+#include "chrome/browser/profiles/dependency_node.h"
class PrefRegistrySyncable;
class PrefService;
@@ -21,7 +22,8 @@ class ProfileDependencyManager;
// RefcountedProfileKeyedServiceFactory. This object describes general
// dependency management between Factories; subclasses react to lifecycle
// events and implement memory management.
-class ProfileKeyedBaseFactory : public base::NonThreadSafe {
+class ProfileKeyedBaseFactory : public base::NonThreadSafe,
+ public DependencyNode {
public:
// Registers preferences used in this service on the pref service of
// |profile|. This is the public interface and is safe to be called multiple

Powered by Google App Engine
This is Rietveld 408576698