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

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

Issue 2953863002: [CrOS Tether] ProximityAuth WebUI improvement: show the local device's ID. (Closed)
Patch Set: Rebased. Created 3 years, 6 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 24 matching lines...) Expand all
35 std::string GetAccountId() override; 35 std::string GetAccountId() override;
36 cryptauth::CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager() 36 cryptauth::CryptAuthEnrollmentManager* GetCryptAuthEnrollmentManager()
37 override; 37 override;
38 cryptauth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() override; 38 cryptauth::CryptAuthDeviceManager* GetCryptAuthDeviceManager() override;
39 void FinalizeSignin(const std::string& secret) override; 39 void FinalizeSignin(const std::string& secret) override;
40 void GetChallengeForUserAndDevice( 40 void GetChallengeForUserAndDevice(
41 const std::string& user_id, 41 const std::string& user_id,
42 const std::string& remote_public_key, 42 const std::string& remote_public_key,
43 const std::string& nonce, 43 const std::string& nonce,
44 base::Callback<void(const std::string& challenge)> callback) override; 44 base::Callback<void(const std::string& challenge)> callback) override;
45 std::string GetLocalDevicePublicKey() override;
45 46
46 private: 47 private:
47 cryptauth::CryptAuthService* GetCryptAuthService(); 48 cryptauth::CryptAuthService* GetCryptAuthService();
48 49
49 Profile* const profile_; 50 Profile* const profile_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient); 52 DISALLOW_COPY_AND_ASSIGN(ChromeProximityAuthClient);
52 }; 53 };
53 54
54 #endif // CHROME_BROWSER_SIGNIN_CHROME_PROXIMITY_AUTH_CLIENT_H_ 55 #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