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

Unified Diff: chrome/browser/ui/app_list/app_list_service_unittest.cc

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/ui/app_list/app_list_service_unittest.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_unittest.cc b/chrome/browser/ui/app_list/app_list_service_unittest.cc
index f6d80a61aa8768f0097039187089c0892e4a1465..251b3ac01c6b4e973f06966066766d94d84a4bdd 100644
--- a/chrome/browser/ui/app_list/app_list_service_unittest.cc
+++ b/chrome/browser/ui/app_list/app_list_service_unittest.cc
@@ -42,38 +42,38 @@ class TestingAppListServiceImpl : public AppListServiceImpl {
}
// AppListService overrides:
- virtual Profile* GetCurrentAppListProfile() OVERRIDE {
+ virtual Profile* GetCurrentAppListProfile() override {
// We don't return showing_for_profile_ here because that is only defined if
// the app list is visible.
return NULL;
}
- virtual void CreateForProfile(Profile* requested_profile) OVERRIDE {
+ virtual void CreateForProfile(Profile* requested_profile) override {
}
- virtual void ShowForProfile(Profile* requested_profile) OVERRIDE {
+ virtual void ShowForProfile(Profile* requested_profile) override {
showing_for_profile_ = requested_profile;
RecordAppListLaunch();
}
- virtual void DismissAppList() OVERRIDE {
+ virtual void DismissAppList() override {
showing_for_profile_ = NULL;
}
- virtual bool IsAppListVisible() const OVERRIDE {
+ virtual bool IsAppListVisible() const override {
return !!showing_for_profile_;
}
- virtual gfx::NativeWindow GetAppListWindow() OVERRIDE {
+ virtual gfx::NativeWindow GetAppListWindow() override {
return NULL;
}
- virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE {
+ virtual AppListControllerDelegate* GetControllerDelegate() override {
return NULL;
}
// AppListServiceImpl overrides:
- virtual void DestroyAppList() OVERRIDE { ++destroy_app_list_call_count_; }
+ virtual void DestroyAppList() override { ++destroy_app_list_call_count_; }
private:
Profile* showing_for_profile_;
@@ -86,7 +86,7 @@ class AppListServiceUnitTest : public testing::Test {
public:
AppListServiceUnitTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
SetupWithCommandLine(CommandLine(CommandLine::NO_PROGRAM));
}
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac_unittest.mm ('k') | chrome/browser/ui/app_list/app_list_service_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698