diff options
Diffstat (limited to 'chrome/browser/sessions')
4 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/sessions/session_service_factory.cc b/chrome/browser/sessions/session_service_factory.cc index 0cde1a1..7c27170 100644 --- a/chrome/browser/sessions/session_service_factory.cc +++ b/chrome/browser/sessions/session_service_factory.cc @@ -65,10 +65,10 @@ ProfileKeyedService* SessionServiceFactory::BuildServiceInstanceFor( return service; } -bool SessionServiceFactory::ServiceIsCreatedWithProfile() { +bool SessionServiceFactory::ServiceIsCreatedWithProfile() const { return true; } -bool SessionServiceFactory::ServiceIsNULLWhileTesting() { +bool SessionServiceFactory::ServiceIsNULLWhileTesting() const { return true; } diff --git a/chrome/browser/sessions/session_service_factory.h b/chrome/browser/sessions/session_service_factory.h index 15d3860..3a4fde8 100644 --- a/chrome/browser/sessions/session_service_factory.h +++ b/chrome/browser/sessions/session_service_factory.h @@ -57,8 +57,8 @@ class SessionServiceFactory : public ProfileKeyedServiceFactory { // ProfileKeyedServiceFactory: virtual ProfileKeyedService* BuildServiceInstanceFor( Profile* profile) const OVERRIDE; - virtual bool ServiceIsCreatedWithProfile() OVERRIDE; - virtual bool ServiceIsNULLWhileTesting() OVERRIDE; + virtual bool ServiceIsCreatedWithProfile() const OVERRIDE; + virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; }; #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_FACTORY_H_ diff --git a/chrome/browser/sessions/tab_restore_service_factory.cc b/chrome/browser/sessions/tab_restore_service_factory.cc index e0fea58..d227075 100644 --- a/chrome/browser/sessions/tab_restore_service_factory.cc +++ b/chrome/browser/sessions/tab_restore_service_factory.cc @@ -39,6 +39,6 @@ ProfileKeyedService* TabRestoreServiceFactory::BuildServiceInstanceFor( return service; } -bool TabRestoreServiceFactory::ServiceIsNULLWhileTesting() { +bool TabRestoreServiceFactory::ServiceIsNULLWhileTesting() const { return true; } diff --git a/chrome/browser/sessions/tab_restore_service_factory.h b/chrome/browser/sessions/tab_restore_service_factory.h index dec246c..0471fa5 100644 --- a/chrome/browser/sessions/tab_restore_service_factory.h +++ b/chrome/browser/sessions/tab_restore_service_factory.h @@ -31,7 +31,7 @@ class TabRestoreServiceFactory : public ProfileKeyedServiceFactory { // ProfileKeyedServiceFactory: virtual ProfileKeyedService* BuildServiceInstanceFor( Profile* profile) const OVERRIDE; - virtual bool ServiceIsNULLWhileTesting() OVERRIDE; + virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; }; #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_FACTORY_H_ |