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

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

Issue 576343002: [Easy signin] Add method to get user info to easyUnlockPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win fix Created 6 years, 3 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_REGULAR_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 25 matching lines...) Expand all
36 virtual void SetPermitAccess(const base::DictionaryValue& permit) OVERRIDE; 36 virtual void SetPermitAccess(const base::DictionaryValue& permit) OVERRIDE;
37 virtual void ClearPermitAccess() OVERRIDE; 37 virtual void ClearPermitAccess() OVERRIDE;
38 virtual const base::ListValue* GetRemoteDevices() const OVERRIDE; 38 virtual const base::ListValue* GetRemoteDevices() const OVERRIDE;
39 virtual void SetRemoteDevices(const base::ListValue& devices) OVERRIDE; 39 virtual void SetRemoteDevices(const base::ListValue& devices) OVERRIDE;
40 virtual void ClearRemoteDevices() OVERRIDE; 40 virtual void ClearRemoteDevices() OVERRIDE;
41 virtual void RunTurnOffFlow() OVERRIDE; 41 virtual void RunTurnOffFlow() OVERRIDE;
42 virtual void ResetTurnOffFlow() OVERRIDE; 42 virtual void ResetTurnOffFlow() OVERRIDE;
43 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE; 43 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE;
44 virtual std::string GetChallenge() const OVERRIDE; 44 virtual std::string GetChallenge() const OVERRIDE;
45 virtual void InitializeInternal() OVERRIDE; 45 virtual void InitializeInternal() OVERRIDE;
46 virtual void ShutdownInternal() OVERRIDE;
46 virtual bool IsAllowedInternal() OVERRIDE; 47 virtual bool IsAllowedInternal() OVERRIDE;
47 48
48 // Callback when the controlling pref changes. 49 // Callback when the controlling pref changes.
49 void OnPrefsChanged(); 50 void OnPrefsChanged();
50 51
51 // Sets the new turn-off flow status. 52 // Sets the new turn-off flow status.
52 void SetTurnOffFlowStatus(TurnOffFlowStatus status); 53 void SetTurnOffFlowStatus(TurnOffFlowStatus status);
53 54
54 // Callback invoked when turn off flow has finished. 55 // Callback invoked when turn off flow has finished.
55 void OnTurnOffFlowFinished(bool success); 56 void OnTurnOffFlowFinished(bool success);
56 57
57 PrefChangeRegistrar registrar_; 58 PrefChangeRegistrar registrar_;
58 59
59 TurnOffFlowStatus turn_off_flow_status_; 60 TurnOffFlowStatus turn_off_flow_status_;
60 scoped_ptr<EasyUnlockToggleFlow> turn_off_flow_; 61 scoped_ptr<EasyUnlockToggleFlow> turn_off_flow_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular); 63 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular);
63 }; 64 };
64 65
65 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ 66 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_factory.cc ('k') | chrome/browser/signin/easy_unlock_service_regular.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698