summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/commands/command_service_factory.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-06 00:37:52 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-06 00:37:52 +0000
commitbb05cae18dede8470d74aaa36c0b3ca1736a3159 (patch)
treebb5c3cbd24733b5c310fbb5fe73de7a55c8ab9e5 /chrome/browser/extensions/api/commands/command_service_factory.cc
parent5c187863e3b264fb954d37fe24e41cf5b4c29c5b (diff)
downloadchromium_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/extensions/api/commands/command_service_factory.cc')
-rw-r--r--chrome/browser/extensions/api/commands/command_service_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/commands/command_service_factory.cc b/chrome/browser/extensions/api/commands/command_service_factory.cc
index 91651d9..8f267b2 100644
--- a/chrome/browser/extensions/api/commands/command_service_factory.cc
+++ b/chrome/browser/extensions/api/commands/command_service_factory.cc
@@ -22,7 +22,7 @@ CommandServiceFactory* CommandServiceFactory::GetInstance() {
return Singleton<CommandServiceFactory>::get();
}
-bool CommandServiceFactory::ServiceIsCreatedWithProfile() {
+bool CommandServiceFactory::ServiceIsCreatedWithProfile() const {
return true;
}
@@ -40,7 +40,7 @@ ProfileKeyedService* CommandServiceFactory::BuildServiceInstanceFor(
return new CommandService(profile);
}
-bool CommandServiceFactory::ServiceRedirectedInIncognito() {
+bool CommandServiceFactory::ServiceRedirectedInIncognito() const {
return true;
}