diff options
Diffstat (limited to 'chrome/browser/sessions')
| -rw-r--r-- | chrome/browser/sessions/session_service.h | 6 | ||||
| -rw-r--r-- | chrome/browser/sessions/session_service_factory.h | 7 | ||||
| -rw-r--r-- | chrome/browser/sessions/tab_restore_service.h | 2 | ||||
| -rw-r--r-- | chrome/browser/sessions/tab_restore_service_factory.h | 5 |
4 files changed, 11 insertions, 9 deletions
diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h index 6c863b2..6cbe60f 100644 --- a/chrome/browser/sessions/session_service.h +++ b/chrome/browser/sessions/session_service.h @@ -182,7 +182,7 @@ class SessionService : public BaseSessionService, // Overridden from BaseSessionService because we want some UMA reporting on // session update activities. - virtual void Save(); + virtual void Save() OVERRIDE; private: typedef std::map<SessionID::id_type, std::pair<int, int> > IdToRange; @@ -208,7 +208,7 @@ class SessionService : public BaseSessionService, virtual void Observe(int type, const content::NotificationSource& source, - const content::NotificationDetails& details); + const content::NotificationDetails& details) OVERRIDE; // Sets the application extension id of the specified tab. void SetTabExtensionAppID(const SessionID& window_id, @@ -350,7 +350,7 @@ class SessionService : public BaseSessionService, // Schedules the specified command. This method takes ownership of the // command. - virtual void ScheduleCommand(SessionCommand* command); + virtual void ScheduleCommand(SessionCommand* command) OVERRIDE; // Converts all pending tab/window closes to commands and schedules them. void CommitPendingCloses(); diff --git a/chrome/browser/sessions/session_service_factory.h b/chrome/browser/sessions/session_service_factory.h index eb46e653..ed7b14b 100644 --- a/chrome/browser/sessions/session_service_factory.h +++ b/chrome/browser/sessions/session_service_factory.h @@ -54,9 +54,10 @@ class SessionServiceFactory : public ProfileKeyedServiceFactory { virtual ~SessionServiceFactory(); // ProfileKeyedServiceFactory: - virtual ProfileKeyedService* BuildServiceInstanceFor(Profile* profile) const; - virtual bool ServiceIsCreatedWithProfile(); - virtual bool ServiceIsNULLWhileTesting(); + virtual ProfileKeyedService* BuildServiceInstanceFor( + Profile* profile) const OVERRIDE; + virtual bool ServiceIsCreatedWithProfile() OVERRIDE; + virtual bool ServiceIsNULLWhileTesting() OVERRIDE; }; #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_FACTORY_H_ diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h index 714e83e..bdd5f6a 100644 --- a/chrome/browser/sessions/tab_restore_service.h +++ b/chrome/browser/sessions/tab_restore_service.h @@ -171,7 +171,7 @@ class TabRestoreService : public BaseSessionService { std::vector<Entry*>* entries); protected: - virtual void Save(); + virtual void Save() OVERRIDE; private: // Used to indicate what has loaded. diff --git a/chrome/browser/sessions/tab_restore_service_factory.h b/chrome/browser/sessions/tab_restore_service_factory.h index b46ea96..dec246c 100644 --- a/chrome/browser/sessions/tab_restore_service_factory.h +++ b/chrome/browser/sessions/tab_restore_service_factory.h @@ -29,8 +29,9 @@ class TabRestoreServiceFactory : public ProfileKeyedServiceFactory { virtual ~TabRestoreServiceFactory(); // ProfileKeyedServiceFactory: - virtual ProfileKeyedService* BuildServiceInstanceFor(Profile* profile) const; - virtual bool ServiceIsNULLWhileTesting(); + virtual ProfileKeyedService* BuildServiceInstanceFor( + Profile* profile) const OVERRIDE; + virtual bool ServiceIsNULLWhileTesting() OVERRIDE; }; #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_FACTORY_H_ |
