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

Unified Diff: athena/content/app_activity_unittest.cc

Issue 623103002: replace OVERRIDE and FINAL with override and final in athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 | « athena/content/app_activity_proxy.h ('k') | athena/content/app_registry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/app_activity_unittest.cc
diff --git a/athena/content/app_activity_unittest.cc b/athena/content/app_activity_unittest.cc
index 0335beffd11ab0dd1e39cd89ecb41a876d4835f7..f265c0ce613a99b537c863485853abe163387caa 100644
--- a/athena/content/app_activity_unittest.cc
+++ b/athena/content/app_activity_unittest.cc
@@ -48,35 +48,35 @@ class TestAppActivity : public AppActivity {
}
// Activity:
- virtual ActivityViewModel* GetActivityViewModel() OVERRIDE {
+ virtual ActivityViewModel* GetActivityViewModel() override {
return this;
}
- virtual void SetCurrentState(Activity::ActivityState state) OVERRIDE {
+ virtual void SetCurrentState(Activity::ActivityState state) override {
current_state_ = state;
if (state == ACTIVITY_UNLOADED)
app_activity_registry_->Unload();
}
- virtual ActivityState GetCurrentState() OVERRIDE {
+ virtual ActivityState GetCurrentState() override {
return current_state_;
}
- virtual bool IsVisible() OVERRIDE {
+ virtual bool IsVisible() override {
return true;
}
- virtual ActivityMediaState GetMediaState() OVERRIDE {
+ virtual ActivityMediaState GetMediaState() override {
return Activity::ACTIVITY_MEDIA_STATE_NONE;
}
- virtual aura::Window* GetWindow() OVERRIDE {
+ virtual aura::Window* GetWindow() override {
return view_->GetWidget()->GetNativeWindow();
}
// ActivityViewModel:
- virtual void Init() OVERRIDE {}
- virtual SkColor GetRepresentativeColor() const OVERRIDE { return 0; }
- virtual base::string16 GetTitle() const OVERRIDE { return title_; }
- virtual bool UsesFrame() const OVERRIDE { return true; }
- virtual views::View* GetContentsView() OVERRIDE { return view_; }
- virtual views::Widget* CreateWidget() OVERRIDE { return NULL; }
- virtual gfx::ImageSkia GetOverviewModeImage() OVERRIDE {
+ virtual void Init() override {}
+ virtual SkColor GetRepresentativeColor() const override { return 0; }
+ virtual base::string16 GetTitle() const override { return title_; }
+ virtual bool UsesFrame() const override { return true; }
+ virtual views::View* GetContentsView() override { return view_; }
+ virtual views::Widget* CreateWidget() override { return NULL; }
+ virtual gfx::ImageSkia GetOverviewModeImage() override {
return gfx::ImageSkia();
}
@@ -106,20 +106,20 @@ class TestExtensionsDelegate : public ExtensionsDelegate {
int restart_called() const { return restart_called_; }
// ExtensionsDelegate:
- virtual content::BrowserContext* GetBrowserContext() const OVERRIDE {
+ virtual content::BrowserContext* GetBrowserContext() const override {
return NULL;
}
- virtual const extensions::ExtensionSet& GetInstalledExtensions() OVERRIDE {
+ virtual const extensions::ExtensionSet& GetInstalledExtensions() override {
return extension_set_;
}
// Unload an application. Returns true when unloaded.
- virtual bool UnloadApp(const std::string& app_id) OVERRIDE {
+ virtual bool UnloadApp(const std::string& app_id) override {
unload_called_++;
// Since we did not close anything we let the framework clean up.
return false;
}
// Restarts an application. Returns true when the restart was initiated.
- virtual bool LaunchApp(const std::string& app_id) OVERRIDE {
+ virtual bool LaunchApp(const std::string& app_id) override {
restart_called_++;
return true;
}
@@ -142,7 +142,7 @@ class AppActivityTest : public AthenaTestBase {
virtual ~AppActivityTest() {}
// AthenaTestBase:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
AthenaTestBase::SetUp();
// Create and install our TestAppContentDelegate with instrumentation.
ExtensionsDelegate::Shutdown();
« no previous file with comments | « athena/content/app_activity_proxy.h ('k') | athena/content/app_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698