summaryrefslogtreecommitdiffstats
path: root/chrome/browser/search_engines
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/search_engines')
-rw-r--r--chrome/browser/search_engines/template_url_fetcher_factory.cc2
-rw-r--r--chrome/browser/search_engines/template_url_fetcher_factory.h2
-rw-r--r--chrome/browser/search_engines/template_url_service_factory.cc4
-rw-r--r--chrome/browser/search_engines/template_url_service_factory.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/search_engines/template_url_fetcher_factory.cc b/chrome/browser/search_engines/template_url_fetcher_factory.cc
index 66c4639..80113bd 100644
--- a/chrome/browser/search_engines/template_url_fetcher_factory.cc
+++ b/chrome/browser/search_engines/template_url_fetcher_factory.cc
@@ -41,6 +41,6 @@ ProfileKeyedService* TemplateURLFetcherFactory::BuildServiceInstanceFor(
return new TemplateURLFetcher(profile);
}
-bool TemplateURLFetcherFactory::ServiceRedirectedInIncognito() {
+bool TemplateURLFetcherFactory::ServiceRedirectedInIncognito() const {
return true;
}
diff --git a/chrome/browser/search_engines/template_url_fetcher_factory.h b/chrome/browser/search_engines/template_url_fetcher_factory.h
index 0b22329..b98e298 100644
--- a/chrome/browser/search_engines/template_url_fetcher_factory.h
+++ b/chrome/browser/search_engines/template_url_fetcher_factory.h
@@ -33,7 +33,7 @@ class TemplateURLFetcherFactory : public ProfileKeyedServiceFactory {
// ProfileKeyedServiceFactory:
virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
- virtual bool ServiceRedirectedInIncognito() OVERRIDE;
+ virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(TemplateURLFetcherFactory);
};
diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc
index 7d7d0b5..6d8b0cb 100644
--- a/chrome/browser/search_engines/template_url_service_factory.cc
+++ b/chrome/browser/search_engines/template_url_service_factory.cc
@@ -80,11 +80,11 @@ void TemplateURLServiceFactory::RegisterUserPrefs(PrefService* prefs) {
PrefService::UNSYNCABLE_PREF);
}
-bool TemplateURLServiceFactory::ServiceRedirectedInIncognito() {
+bool TemplateURLServiceFactory::ServiceRedirectedInIncognito() const {
return true;
}
-bool TemplateURLServiceFactory::ServiceIsNULLWhileTesting() {
+bool TemplateURLServiceFactory::ServiceIsNULLWhileTesting() const {
return true;
}
diff --git a/chrome/browser/search_engines/template_url_service_factory.h b/chrome/browser/search_engines/template_url_service_factory.h
index dfb249b..0541426 100644
--- a/chrome/browser/search_engines/template_url_service_factory.h
+++ b/chrome/browser/search_engines/template_url_service_factory.h
@@ -32,8 +32,8 @@ class TemplateURLServiceFactory : public ProfileKeyedServiceFactory {
virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
virtual void RegisterUserPrefs(PrefService* user_prefs) OVERRIDE;
- virtual bool ServiceRedirectedInIncognito() OVERRIDE;
- virtual bool ServiceIsNULLWhileTesting() OVERRIDE;
+ virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
+ virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
virtual void ProfileShutdown(Profile* profile) OVERRIDE;
virtual void ProfileDestroyed(Profile* profile) OVERRIDE;
};