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

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

Issue 1308393007: Add CryptAuth managers to EasyUnlockServiceRegular (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows compile Created 5 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
« no previous file with comments | « no previous file | chrome/browser/signin/chrome_proximity_auth_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHROME_PROXIMITY_AUTH_CLIENT_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_
6 #define CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ 6 #define CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/proximity_auth/proximity_auth_client.h" 9 #include "components/proximity_auth/proximity_auth_client.h"
10 10
(...skipping 18 matching lines...) Expand all
29 scoped_ptr<proximity_auth::CryptAuthClientFactory> 29 scoped_ptr<proximity_auth::CryptAuthClientFactory>
30 CreateCryptAuthClientFactory() override; 30 CreateCryptAuthClientFactory() override;
31 cryptauth::DeviceClassifier GetDeviceClassifier() override; 31 cryptauth::DeviceClassifier GetDeviceClassifier() override;
32 std::string GetAccountId() override; 32 std::string GetAccountId() override;
33 proximity_auth::CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager() 33 proximity_auth::CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager()
34 override; 34 override;
35 proximity_auth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() override; 35 proximity_auth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() override;
36 void FinalizeSignin(const std::string& secret) override; 36 void FinalizeSignin(const std::string& secret) override;
37 37
38 private: 38 private:
39 // Returns the EasyUnlockService instance used inside user sessions.
40 EasyUnlockServiceRegular* GetEasyUnlockServiceRegular();
41
39 Profile* const profile_; 42 Profile* const profile_;
40 43
41 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient); 44 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient);
42 }; 45 };
43 46
44 #endif // CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ 47 #endif // CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/signin/chrome_proximity_auth_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698