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

Side by Side Diff: components/proximity_auth/mock_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
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 COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ 5 #ifndef COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_
6 #define COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ 6 #define COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 29 matching lines...) Expand all
40 MOCK_METHOD0(GetDeviceClassifier, cryptauth::DeviceClassifier(void)); 40 MOCK_METHOD0(GetDeviceClassifier, cryptauth::DeviceClassifier(void));
41 MOCK_METHOD0(GetAccountId, std::string(void)); 41 MOCK_METHOD0(GetAccountId, std::string(void));
42 MOCK_METHOD0(GetCryptAuthEnrollmentManager, 42 MOCK_METHOD0(GetCryptAuthEnrollmentManager,
43 cryptauth::CryptAuthEnrollmentManager*(void)); 43 cryptauth::CryptAuthEnrollmentManager*(void));
44 MOCK_METHOD0(GetCryptAuthDeviceManager, 44 MOCK_METHOD0(GetCryptAuthDeviceManager,
45 cryptauth::CryptAuthDeviceManager*(void)); 45 cryptauth::CryptAuthDeviceManager*(void));
46 std::unique_ptr<cryptauth::SecureMessageDelegate> 46 std::unique_ptr<cryptauth::SecureMessageDelegate>
47 CreateSecureMessageDelegate() override; 47 CreateSecureMessageDelegate() override;
48 std::unique_ptr<cryptauth::CryptAuthClientFactory> 48 std::unique_ptr<cryptauth::CryptAuthClientFactory>
49 CreateCryptAuthClientFactory() override; 49 CreateCryptAuthClientFactory() override;
50 MOCK_METHOD0(GetLocalDevicePublicKey, std::string(void));
50 51
51 // Proxy mock methods because implementation requires returning scoped_ptr. 52 // Proxy mock methods because implementation requires returning scoped_ptr.
52 MOCK_METHOD0(CreateSecureMessageDelegatePtr, 53 MOCK_METHOD0(CreateSecureMessageDelegatePtr,
53 cryptauth::SecureMessageDelegate*(void)); 54 cryptauth::SecureMessageDelegate*(void));
54 MOCK_METHOD0(CreateCryptAuthClientFactoryPtr, 55 MOCK_METHOD0(CreateCryptAuthClientFactoryPtr,
55 cryptauth::CryptAuthClientFactory*(void)); 56 cryptauth::CryptAuthClientFactory*(void));
56 57
57 private: 58 private:
58 DISALLOW_COPY_AND_ASSIGN(MockProximityAuthClient); 59 DISALLOW_COPY_AND_ASSIGN(MockProximityAuthClient);
59 }; 60 };
60 61
61 } // namespace proximity_auth 62 } // namespace proximity_auth
62 63
63 #endif // COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_ 64 #endif // COMPONENTS_PROXIMITY_AUTH_MOCK_PROXIMITY_AUTH_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/chrome_proximity_auth_client.cc ('k') | components/proximity_auth/proximity_auth_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698