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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry_factory.cc

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/custom_handlers/protocol_handler_registry_factory.cc
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc b/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc
index eaebd5ed0a3b9cff9a7783d023cdc1c3757c2e2e..351ba0d7b9a036bfb8a8c39a98b28196390fd811 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc
@@ -49,6 +49,10 @@ bool ProtocolHandlerRegistryFactory::ServiceIsNULLWhileTesting() const {
return true;
}
+bool ProtocolHandlerRegistryFactory::ServiceIsNULLOnImportProcess() const {
+ return false;
+}
+
ProfileKeyedService* ProtocolHandlerRegistryFactory::BuildServiceInstanceFor(
Profile* profile) const {
ProtocolHandlerRegistry* registry = new ProtocolHandlerRegistry(

Powered by Google App Engine
This is Rietveld 408576698