Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: chrome/browser/chromeos/app_mode/app_launch_utils.cc

Issue 827293003: Update {virtual,override,final} to follow C++11 style in chrome/browser/chromeos/app_mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/app_session_lifetime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/app_mode/app_launch_utils.cc
diff --git a/chrome/browser/chromeos/app_mode/app_launch_utils.cc b/chrome/browser/chromeos/app_mode/app_launch_utils.cc
index ebbf05354db0ddb766e5f14d296ddae737c6d53d..d5a4c491b592b8db173de89560fe76f9b3ac9c88 100644
--- a/chrome/browser/chromeos/app_mode/app_launch_utils.cc
+++ b/chrome/browser/chromeos/app_mode/app_launch_utils.cc
@@ -27,34 +27,32 @@ class AppLaunchManager : public StartupAppLauncher::Delegate {
}
private:
- virtual ~AppLaunchManager() {}
+ ~AppLaunchManager() override {}
void Cleanup() { delete this; }
// StartupAppLauncher::Delegate overrides:
- virtual void InitializeNetwork() override {
+ void InitializeNetwork() override {
// This is on crash-restart path and assumes network is online.
// TODO(xiyuan): Remove the crash-restart path for kiosk or add proper
// network configure handling.
startup_app_launcher_->ContinueWithNetworkReady();
}
- virtual bool IsNetworkReady() override {
+ bool IsNetworkReady() override {
// See comments above. Network is assumed to be online here.
return true;
}
- virtual void OnLoadingOAuthFile() override {}
- virtual void OnInitializingTokenService() override {}
- virtual void OnInstallingApp() override {}
- virtual void OnReadyToLaunch() override {
- startup_app_launcher_->LaunchApp();
- }
- virtual void OnLaunchSucceeded() override { Cleanup(); }
- virtual void OnLaunchFailed(KioskAppLaunchError::Error error) override {
+ void OnLoadingOAuthFile() override {}
+ void OnInitializingTokenService() override {}
+ void OnInstallingApp() override {}
+ void OnReadyToLaunch() override { startup_app_launcher_->LaunchApp(); }
+ void OnLaunchSucceeded() override { Cleanup(); }
+ void OnLaunchFailed(KioskAppLaunchError::Error error) override {
KioskAppLaunchError::Save(error);
chrome::AttemptUserExit();
Cleanup();
}
- virtual bool IsShowingNetworkConfigScreen() override { return false; }
+ bool IsShowingNetworkConfigScreen() override { return false; }
scoped_ptr<StartupAppLauncher> startup_app_launcher_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/app_session_lifetime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698