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

Side by Side Diff: chrome/browser/signin/signin_error_notifier_ash.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (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 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_SIGNIN_SIGNIN_ERROR_NOTIFIER_ASH_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_ERROR_NOTIFIER_ASH_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_ERROR_NOTIFIER_ASH_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_ERROR_NOTIFIER_ASH_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/signin/core/browser/signin_error_controller.h" 14 #include "components/signin/core/browser/signin_error_controller.h"
15 15
16 class Profile; 16 class Profile;
17 17
18 // Shows signin-related errors as notifications in Ash. 18 // Shows signin-related errors as notifications in Ash.
19 class SigninErrorNotifier : public SigninErrorController::Observer, 19 class SigninErrorNotifier : public SigninErrorController::Observer,
20 public KeyedService { 20 public KeyedService {
21 public: 21 public:
22 SigninErrorNotifier(SigninErrorController* controller, Profile* profile); 22 SigninErrorNotifier(SigninErrorController* controller, Profile* profile);
23 virtual ~SigninErrorNotifier(); 23 virtual ~SigninErrorNotifier();
24 24
25 // KeyedService: 25 // KeyedService:
26 virtual void Shutdown() OVERRIDE; 26 virtual void Shutdown() override;
27 27
28 // SigninErrorController::Observer: 28 // SigninErrorController::Observer:
29 virtual void OnErrorChanged() OVERRIDE; 29 virtual void OnErrorChanged() override;
30 30
31 private: 31 private:
32 base::string16 GetMessageBody() const; 32 base::string16 GetMessageBody() const;
33 33
34 // The error controller to query for error details. 34 // The error controller to query for error details.
35 SigninErrorController* error_controller_; 35 SigninErrorController* error_controller_;
36 36
37 // The Profile this service belongs to. 37 // The Profile this service belongs to.
38 Profile* profile_; 38 Profile* profile_;
39 39
40 // Used to keep track of the message center notification. 40 // Used to keep track of the message center notification.
41 std::string notification_id_; 41 std::string notification_id_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(SigninErrorNotifier); 43 DISALLOW_COPY_AND_ASSIGN(SigninErrorNotifier);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_ERROR_NOTIFIER_ASH_H_ 46 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_ERROR_NOTIFIER_ASH_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_browsertest.cc ('k') | chrome/browser/signin/signin_error_notifier_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698