typedef base::Callback<void(Profile*, Profile::CreateStatus)> CreateCallback;
explicit ProfileManager(const base::FilePath& user_data_dir);
- virtual ~ProfileManager();
+ ~ProfileManager() override;
#if defined(ENABLE_SESSION_SERVICE)
// Invokes SessionServiceFactory::ShutdownForProfile() for all profiles.
bool IsLoggedIn() const { return logged_in_; }
// content::NotificationObserver implementation.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// Profile::Delegate implementation:
- virtual void OnProfileCreated(Profile* profile,
- bool success,
- bool is_new_profile) OVERRIDE;
+ void OnProfileCreated(Profile* profile,
+ bool success,
+ bool is_new_profile) override;
protected:
// Does final initial actions.
class BrowserListObserver : public chrome::BrowserListObserver {
public:
explicit BrowserListObserver(ProfileManager* manager);
- virtual ~BrowserListObserver();
+ ~BrowserListObserver() override;
// chrome::BrowserListObserver implementation.
- virtual void OnBrowserAdded(Browser* browser) OVERRIDE;
- virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;
- virtual void OnBrowserSetLastActive(Browser* browser) OVERRIDE;
+ void OnBrowserAdded(Browser* browser) override;
+ void OnBrowserRemoved(Browser* browser) override;
+ void OnBrowserSetLastActive(Browser* browser) override;
private:
ProfileManager* profile_manager_;
explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir);
protected:
- virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {}
- virtual void DoFinalInitLogging(Profile*) OVERRIDE {}
+ void DoFinalInitForServices(Profile*, bool) override {}
+ void DoFinalInitLogging(Profile*) override {}
};
#endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_