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

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

Issue 808563004: Clean up Smart Lock cryptohome keys logic: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual std::string GetUserEmail() const = 0; 76 virtual std::string GetUserEmail() const = 0;
77 77
78 // Launches Easy Unlock Setup app. 78 // Launches Easy Unlock Setup app.
79 virtual void LaunchSetup() = 0; 79 virtual void LaunchSetup() = 0;
80 80
81 // Gets/Sets/Clears the permit access for the local device. 81 // Gets/Sets/Clears the permit access for the local device.
82 virtual const base::DictionaryValue* GetPermitAccess() const = 0; 82 virtual const base::DictionaryValue* GetPermitAccess() const = 0;
83 virtual void SetPermitAccess(const base::DictionaryValue& permit) = 0; 83 virtual void SetPermitAccess(const base::DictionaryValue& permit) = 0;
84 virtual void ClearPermitAccess() = 0; 84 virtual void ClearPermitAccess() = 0;
85 85
86 // Gets/Sets/Clears the remote devices list. 86 // Gets/Sets the remote devices list.
87 virtual const base::ListValue* GetRemoteDevices() const = 0; 87 virtual const base::ListValue* GetRemoteDevices() const = 0;
88 virtual void SetRemoteDevices(const base::ListValue& devices) = 0; 88 virtual void SetRemoteDevices(const base::ListValue& devices) = 0;
89 virtual void ClearRemoteDevices() = 0;
90 89
91 // Runs the flow for turning Easy unlock off. 90 // Runs the flow for turning Easy unlock off.
92 virtual void RunTurnOffFlow() = 0; 91 virtual void RunTurnOffFlow() = 0;
93 92
94 // Resets the turn off flow if one is in progress. 93 // Resets the turn off flow if one is in progress.
95 virtual void ResetTurnOffFlow() = 0; 94 virtual void ResetTurnOffFlow() = 0;
96 95
97 // Returns the current turn off flow status. 96 // Returns the current turn off flow status.
98 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const = 0; 97 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const = 0;
99 98
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 bool shut_down_; 275 bool shut_down_;
277 276
278 ObserverList<EasyUnlockServiceObserver> observers_; 277 ObserverList<EasyUnlockServiceObserver> observers_;
279 278
280 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_; 279 base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
281 280
282 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService); 281 DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
283 }; 282 };
284 283
285 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_ 284 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698