diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 00:37:52 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 00:37:52 +0000 |
commit | bb05cae18dede8470d74aaa36c0b3ca1736a3159 (patch) | |
tree | bb5c3cbd24733b5c310fbb5fe73de7a55c8ab9e5 /chrome/browser/custom_handlers/protocol_handler_registry_factory.cc | |
parent | 5c187863e3b264fb954d37fe24e41cf5b4c29c5b (diff) | |
download | chromium_src-bb05cae18dede8470d74aaa36c0b3ca1736a3159.zip chromium_src-bb05cae18dede8470d74aaa36c0b3ca1736a3159.tar.gz chromium_src-bb05cae18dede8470d74aaa36c0b3ca1736a3159.tar.bz2 |
Cleanup: Constify some ProfileKeyedBaseFactory methods and all overrides. Remove ProfileKeyedBaseFactory::ForceRegisterPrefsForTest()
Review URL: https://chromiumcodereview.appspot.com/10908088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers/protocol_handler_registry_factory.cc')
-rw-r--r-- | chrome/browser/custom_handlers/protocol_handler_registry_factory.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc b/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc index 8da041b..eaebd5e 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry_factory.cc @@ -33,19 +33,19 @@ ProtocolHandlerRegistryFactory::~ProtocolHandlerRegistryFactory() { // Will be created when initializing profile_io_data, so we might // as well have the framework create this along with other // PKSs to preserve orderly civic conduct :) -bool ProtocolHandlerRegistryFactory::ServiceIsCreatedWithProfile() { +bool ProtocolHandlerRegistryFactory::ServiceIsCreatedWithProfile() const { return true; } // Allows the produced registry to be used in incognito mode. -bool ProtocolHandlerRegistryFactory::ServiceRedirectedInIncognito() { +bool ProtocolHandlerRegistryFactory::ServiceRedirectedInIncognito() const { return true; } // Do not create this service for tests. MANY tests will fail // due to the threading requirements of this service. ALSO, // not creating this increases test isolation (which is GOOD!) -bool ProtocolHandlerRegistryFactory::ServiceIsNULLWhileTesting() { +bool ProtocolHandlerRegistryFactory::ServiceIsNULLWhileTesting() const { return true; } |