summaryrefslogtreecommitdiffstats
path: root/chrome/browser/webdata
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/webdata')
-rw-r--r--chrome/browser/webdata/web_data_service_factory.cc4
-rw-r--r--chrome/browser/webdata/web_data_service_factory.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/webdata/web_data_service_factory.cc b/chrome/browser/webdata/web_data_service_factory.cc
index 006a0fc..f86f28f 100644
--- a/chrome/browser/webdata/web_data_service_factory.cc
+++ b/chrome/browser/webdata/web_data_service_factory.cc
@@ -39,7 +39,7 @@ WebDataServiceFactory* WebDataServiceFactory::GetInstance() {
return Singleton<WebDataServiceFactory>::get();
}
-bool WebDataServiceFactory::ServiceRedirectedInIncognito() {
+bool WebDataServiceFactory::ServiceRedirectedInIncognito() const {
return true;
}
@@ -56,6 +56,6 @@ WebDataServiceFactory::BuildServiceInstanceFor(Profile* profile) const {
return wds.get();
}
-bool WebDataServiceFactory::ServiceIsNULLWhileTesting() {
+bool WebDataServiceFactory::ServiceIsNULLWhileTesting() const {
return true;
}
diff --git a/chrome/browser/webdata/web_data_service_factory.h b/chrome/browser/webdata/web_data_service_factory.h
index 9e360fb..c77d056e 100644
--- a/chrome/browser/webdata/web_data_service_factory.h
+++ b/chrome/browser/webdata/web_data_service_factory.h
@@ -34,10 +34,10 @@ class WebDataServiceFactory : public RefcountedProfileKeyedServiceFactory {
virtual ~WebDataServiceFactory();
// |ProfileKeyedBaseFactory| methods:
- virtual bool ServiceRedirectedInIncognito() OVERRIDE;
+ virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
- virtual bool ServiceIsNULLWhileTesting() OVERRIDE;
+ virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
};
#endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_FACTORY_H__