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

Side by Side Diff: chrome/browser/signin/easy_unlock_service_signin_chromeos.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_SERVICE_SIGNIN_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // The list of remote device dictionaries understood by Easy unlock app. 50 // The list of remote device dictionaries understood by Easy unlock app.
51 // This will be returned by |GetRemoteDevices| method. 51 // This will be returned by |GetRemoteDevices| method.
52 base::ListValue remote_devices_value; 52 base::ListValue remote_devices_value;
53 53
54 private: 54 private:
55 DISALLOW_COPY_AND_ASSIGN(UserData); 55 DISALLOW_COPY_AND_ASSIGN(UserData);
56 }; 56 };
57 57
58 // EasyUnlockService implementation: 58 // EasyUnlockService implementation:
59 virtual EasyUnlockService::Type GetType() const OVERRIDE; 59 virtual EasyUnlockService::Type GetType() const override;
60 virtual std::string GetUserEmail() const OVERRIDE; 60 virtual std::string GetUserEmail() const override;
61 virtual void LaunchSetup() OVERRIDE; 61 virtual void LaunchSetup() override;
62 virtual const base::DictionaryValue* GetPermitAccess() const OVERRIDE; 62 virtual const base::DictionaryValue* GetPermitAccess() const override;
63 virtual void SetPermitAccess(const base::DictionaryValue& permit) OVERRIDE; 63 virtual void SetPermitAccess(const base::DictionaryValue& permit) override;
64 virtual void ClearPermitAccess() OVERRIDE; 64 virtual void ClearPermitAccess() override;
65 virtual const base::ListValue* GetRemoteDevices() const OVERRIDE; 65 virtual const base::ListValue* GetRemoteDevices() const override;
66 virtual void SetRemoteDevices(const base::ListValue& devices) OVERRIDE; 66 virtual void SetRemoteDevices(const base::ListValue& devices) override;
67 virtual void ClearRemoteDevices() OVERRIDE; 67 virtual void ClearRemoteDevices() override;
68 virtual void RunTurnOffFlow() OVERRIDE; 68 virtual void RunTurnOffFlow() override;
69 virtual void ResetTurnOffFlow() OVERRIDE; 69 virtual void ResetTurnOffFlow() override;
70 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE; 70 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const override;
71 virtual std::string GetChallenge() const OVERRIDE; 71 virtual std::string GetChallenge() const override;
72 virtual std::string GetWrappedSecret() const OVERRIDE; 72 virtual std::string GetWrappedSecret() const override;
73 virtual void InitializeInternal() OVERRIDE; 73 virtual void InitializeInternal() override;
74 virtual void ShutdownInternal() OVERRIDE; 74 virtual void ShutdownInternal() override;
75 virtual bool IsAllowedInternal() OVERRIDE; 75 virtual bool IsAllowedInternal() override;
76 76
77 // ScreenlockBridge::Observer implementation: 77 // ScreenlockBridge::Observer implementation:
78 virtual void OnScreenDidLock() OVERRIDE; 78 virtual void OnScreenDidLock() override;
79 virtual void OnScreenDidUnlock() OVERRIDE; 79 virtual void OnScreenDidUnlock() override;
80 virtual void OnFocusedUserChanged(const std::string& user_id) OVERRIDE; 80 virtual void OnFocusedUserChanged(const std::string& user_id) override;
81 81
82 // chromeos::LoginState::Observer implementation: 82 // chromeos::LoginState::Observer implementation:
83 virtual void LoggedInStateChanged() OVERRIDE; 83 virtual void LoggedInStateChanged() override;
84 84
85 // Loads the device data associated with the user's Easy unlock keys from 85 // Loads the device data associated with the user's Easy unlock keys from
86 // crypthome. 86 // crypthome.
87 void LoadCurrentUserDataIfNeeded(); 87 void LoadCurrentUserDataIfNeeded();
88 88
89 // Callback invoked when the user's device data is loaded from cryptohome. 89 // Callback invoked when the user's device data is loaded from cryptohome.
90 void OnUserDataLoaded( 90 void OnUserDataLoaded(
91 const std::string& user_id, 91 const std::string& user_id,
92 bool success, 92 bool success,
93 const chromeos::EasyUnlockDeviceKeyDataList& data); 93 const chromeos::EasyUnlockDeviceKeyDataList& data);
(...skipping 17 matching lines...) Expand all
111 // Whether the service has been successfully initialized, and has not been 111 // Whether the service has been successfully initialized, and has not been
112 // shut down. 112 // shut down.
113 bool service_active_; 113 bool service_active_;
114 114
115 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; 115 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_;
116 116
117 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); 117 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin);
118 }; 118 };
119 119
120 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ 120 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.h ('k') | chrome/browser/signin/easy_unlock_toggle_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698