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

Side by Side Diff: chrome/browser/signin/signin_global_error.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_GLOBAL_ERROR_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_
7 7
8 #include <set> 8 #include <set>
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 19 matching lines...) Expand all
30 // Shows re-authentication UI to the user in an attempt to fix the error. 30 // Shows re-authentication UI to the user in an attempt to fix the error.
31 // The re-authentication UI will be shown in |browser|. 31 // The re-authentication UI will be shown in |browser|.
32 void AttemptToFixError(Browser* browser); 32 void AttemptToFixError(Browser* browser);
33 33
34 private: 34 private:
35 FRIEND_TEST_ALL_PREFIXES(SigninGlobalErrorTest, NoErrorAuthStatusProviders); 35 FRIEND_TEST_ALL_PREFIXES(SigninGlobalErrorTest, NoErrorAuthStatusProviders);
36 FRIEND_TEST_ALL_PREFIXES(SigninGlobalErrorTest, ErrorAuthStatusProvider); 36 FRIEND_TEST_ALL_PREFIXES(SigninGlobalErrorTest, ErrorAuthStatusProvider);
37 FRIEND_TEST_ALL_PREFIXES(SigninGlobalErrorTest, AuthStatusEnumerateAllErrors); 37 FRIEND_TEST_ALL_PREFIXES(SigninGlobalErrorTest, AuthStatusEnumerateAllErrors);
38 38
39 // KeyedService: 39 // KeyedService:
40 virtual void Shutdown() OVERRIDE; 40 virtual void Shutdown() override;
41 41
42 // GlobalErrorWithStandardBubble: 42 // GlobalErrorWithStandardBubble:
43 virtual bool HasMenuItem() OVERRIDE; 43 virtual bool HasMenuItem() override;
44 virtual int MenuItemCommandID() OVERRIDE; 44 virtual int MenuItemCommandID() override;
45 virtual base::string16 MenuItemLabel() OVERRIDE; 45 virtual base::string16 MenuItemLabel() override;
46 virtual void ExecuteMenuItem(Browser* browser) OVERRIDE; 46 virtual void ExecuteMenuItem(Browser* browser) override;
47 virtual bool HasBubbleView() OVERRIDE; 47 virtual bool HasBubbleView() override;
48 virtual base::string16 GetBubbleViewTitle() OVERRIDE; 48 virtual base::string16 GetBubbleViewTitle() override;
49 virtual std::vector<base::string16> GetBubbleViewMessages() OVERRIDE; 49 virtual std::vector<base::string16> GetBubbleViewMessages() override;
50 virtual base::string16 GetBubbleViewAcceptButtonLabel() OVERRIDE; 50 virtual base::string16 GetBubbleViewAcceptButtonLabel() override;
51 virtual base::string16 GetBubbleViewCancelButtonLabel() OVERRIDE; 51 virtual base::string16 GetBubbleViewCancelButtonLabel() override;
52 virtual void OnBubbleViewDidClose(Browser* browser) OVERRIDE; 52 virtual void OnBubbleViewDidClose(Browser* browser) override;
53 virtual void BubbleViewAcceptButtonPressed(Browser* browser) OVERRIDE; 53 virtual void BubbleViewAcceptButtonPressed(Browser* browser) override;
54 virtual void BubbleViewCancelButtonPressed(Browser* browser) OVERRIDE; 54 virtual void BubbleViewCancelButtonPressed(Browser* browser) override;
55 55
56 // SigninErrorController::Observer: 56 // SigninErrorController::Observer:
57 virtual void OnErrorChanged() OVERRIDE; 57 virtual void OnErrorChanged() override;
58 58
59 // The Profile this service belongs to. 59 // The Profile this service belongs to.
60 Profile* profile_; 60 Profile* profile_;
61 61
62 // The SigninErrorController that provides auth status. 62 // The SigninErrorController that provides auth status.
63 SigninErrorController* error_controller_; 63 SigninErrorController* error_controller_;
64 64
65 // True if signin global error was added to the global error service. 65 // True if signin global error was added to the global error service.
66 bool is_added_to_global_error_service_; 66 bool is_added_to_global_error_service_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(SigninGlobalError); 68 DISALLOW_COPY_AND_ASSIGN(SigninGlobalError);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_ 71 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_GLOBAL_ERROR_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_error_notifier_factory_ash.h ('k') | chrome/browser/signin/signin_global_error_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698