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

Unified Diff: chrome/browser/signin/chrome_proximity_auth_client.h

Issue 1316543003: Refactor ProximityAuthUIDelegate functions to ProximityAuthClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/chrome_proximity_auth_client.h
diff --git a/chrome/browser/signin/chrome_proximity_auth_client.h b/chrome/browser/signin/chrome_proximity_auth_client.h
index 53bc6e223724e9e2215c901e71188a802fd48d5e..7a0815e36f46a34bf9368a4eafb58d4f15b1b8f0 100644
--- a/chrome/browser/signin/chrome_proximity_auth_client.h
+++ b/chrome/browser/signin/chrome_proximity_auth_client.h
@@ -8,7 +8,9 @@
#include "base/macros.h"
#include "components/proximity_auth/proximity_auth_client.h"
+class PrefService;
class Profile;
+class EasyUnlockServiceRegular;
// A Chrome-specific implementation of the ProximityAuthClient interface.
// There is one |ChromeProximityAuthClient| per |Profile|.
@@ -21,6 +23,16 @@ class ChromeProximityAuthClient : public proximity_auth::ProximityAuthClient {
std::string GetAuthenticatedUsername() const override;
void UpdateScreenlockState(proximity_auth::ScreenlockState state) override;
void FinalizeUnlock(bool success) override;
+ PrefService* GetPrefService() override;
+ scoped_ptr<proximity_auth::SecureMessageDelegate>
+ CreateSecureMessageDelegate() override;
+ scoped_ptr<proximity_auth::CryptAuthClientFactory>
+ CreateCryptAuthClientFactory() override;
+ cryptauth::DeviceClassifier GetDeviceClassifier() override;
+ std::string GetAccountId() override;
+ proximity_auth::CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager()
+ override;
+ proximity_auth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() override;
void FinalizeSignin(const std::string& secret) override;
private:

Powered by Google App Engine
This is Rietveld 408576698