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

Side by Side Diff: chrome/browser/signin/easy_unlock_screenlock_state_handler.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_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void ChangeState(State new_state); 69 void ChangeState(State new_state);
70 70
71 // Updates the screenlock state. 71 // Updates the screenlock state.
72 void SetHardlockState(HardlockState new_state); 72 void SetHardlockState(HardlockState new_state);
73 73
74 // Shows the hardlock UI if the hardlock_state_ is not NO_HARDLOCK. 74 // Shows the hardlock UI if the hardlock_state_ is not NO_HARDLOCK.
75 void MaybeShowHardlockUI(); 75 void MaybeShowHardlockUI();
76 76
77 private: 77 private:
78 // ScreenlockBridge::Observer: 78 // ScreenlockBridge::Observer:
79 virtual void OnScreenDidLock() OVERRIDE; 79 virtual void OnScreenDidLock() override;
80 virtual void OnScreenDidUnlock() OVERRIDE; 80 virtual void OnScreenDidUnlock() override;
81 virtual void OnFocusedUserChanged(const std::string& user_id) OVERRIDE; 81 virtual void OnFocusedUserChanged(const std::string& user_id) override;
82 82
83 void ShowHardlockUI(); 83 void ShowHardlockUI();
84 84
85 // Updates icon's tooltip options. 85 // Updates icon's tooltip options.
86 // |trial_run|: Whether the trial Easy Unlock run is in progress. 86 // |trial_run|: Whether the trial Easy Unlock run is in progress.
87 void UpdateTooltipOptions( 87 void UpdateTooltipOptions(
88 bool trial_run, 88 bool trial_run,
89 ScreenlockBridge::UserPodCustomIconOptions* icon_options); 89 ScreenlockBridge::UserPodCustomIconOptions* icon_options);
90 90
91 // Whether this is the first, trial Easy Unlock run. If this is the case, a 91 // Whether this is the first, trial Easy Unlock run. If this is the case, a
(...skipping 18 matching lines...) Expand all
110 ScreenlockBridge* screenlock_bridge_; 110 ScreenlockBridge* screenlock_bridge_;
111 111
112 // State of hardlock. 112 // State of hardlock.
113 HardlockState hardlock_state_; 113 HardlockState hardlock_state_;
114 bool hardlock_ui_shown_; 114 bool hardlock_ui_shown_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(EasyUnlockScreenlockStateHandler); 116 DISALLOW_COPY_AND_ASSIGN(EasyUnlockScreenlockStateHandler);
117 }; 117 };
118 118
119 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ 119 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698