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

Unified Diff: chrome/browser/extensions/extension_system_factory.h

Issue 12330073: Disable ProfileKeyedServices on import process by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to ToT Created 7 years, 9 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/extensions/extension_system_factory.h
diff --git a/chrome/browser/extensions/extension_system_factory.h b/chrome/browser/extensions/extension_system_factory.h
index f2f4617a586405401e3f9ba84ef501fb9bffd678..17883da7ce2a7c33bc857854b1941bbf5944a9e6 100644
--- a/chrome/browser/extensions/extension_system_factory.h
+++ b/chrome/browser/extensions/extension_system_factory.h
@@ -33,6 +33,7 @@ class ExtensionSystemSharedFactory : public ProfileKeyedServiceFactory {
virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
+ virtual bool ServiceIsNULLOnImportProcess() const OVERRIDE;
};
// ProfileKeyedServiceFactory for ExtensionSystem.
@@ -53,6 +54,7 @@ class ExtensionSystemFactory : public ProfileKeyedServiceFactory {
Profile* profile) const OVERRIDE;
virtual bool ServiceHasOwnInstanceInIncognito() const OVERRIDE;
virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
+ virtual bool ServiceIsNULLOnImportProcess() const OVERRIDE;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698