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

Side by Side Diff: chrome/browser/ui/ash/stub_user_accounts_delegate.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_STUB_USER_ACCOUNTS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_STUB_USER_ACCOUNTS_DELEGATE_H_
6 #define CHROME_BROWSER_UI_ASH_STUB_USER_ACCOUNTS_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_ASH_STUB_USER_ACCOUNTS_DELEGATE_H_
7 7
8 #include "ash/system/user/user_accounts_delegate.h" 8 #include "ash/system/user/user_accounts_delegate.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 class StubUserAccountsDelegate : public ash::tray::UserAccountsDelegate { 12 class StubUserAccountsDelegate : public ash::tray::UserAccountsDelegate {
13 public: 13 public:
14 explicit StubUserAccountsDelegate(const std::string& owner_id); 14 explicit StubUserAccountsDelegate(const std::string& owner_id);
15 virtual ~StubUserAccountsDelegate(); 15 virtual ~StubUserAccountsDelegate();
16 16
17 void AddAccount(const std::string& account); 17 void AddAccount(const std::string& account);
18 18
19 // Overridden from ash::tray::UserAccountsDelegate: 19 // Overridden from ash::tray::UserAccountsDelegate:
20 virtual std::string GetPrimaryAccountId() OVERRIDE; 20 virtual std::string GetPrimaryAccountId() override;
21 virtual std::vector<std::string> GetSecondaryAccountIds() OVERRIDE; 21 virtual std::vector<std::string> GetSecondaryAccountIds() override;
22 virtual std::string GetAccountDisplayName(const std::string& account_id) 22 virtual std::string GetAccountDisplayName(const std::string& account_id)
23 OVERRIDE; 23 override;
24 virtual void DeleteAccount(const std::string& account_id) OVERRIDE; 24 virtual void DeleteAccount(const std::string& account_id) override;
25 virtual void LaunchAddAccountDialog() OVERRIDE; 25 virtual void LaunchAddAccountDialog() override;
26 26
27 private: 27 private:
28 std::string primary_account_; 28 std::string primary_account_;
29 std::vector<std::string> secondary_accounts_; 29 std::vector<std::string> secondary_accounts_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(StubUserAccountsDelegate); 31 DISALLOW_COPY_AND_ASSIGN(StubUserAccountsDelegate);
32 }; 32 };
33 33
34 #endif // CHROME_BROWSER_UI_ASH_STUB_USER_ACCOUNTS_DELEGATE_H_ 34 #endif // CHROME_BROWSER_UI_ASH_STUB_USER_ACCOUNTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/solid_color_user_wallpaper_delegate.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698