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

Unified Diff: components/cryptauth/fake_secure_channel.h

Issue 2800883003: [CrOS Tether] Update SecureChannel and BleConnectionManager to use CryptAuthService instead of a Del (Closed)
Patch Set: Added BleConnectionManager refactor as well. Created 3 years, 8 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: components/cryptauth/fake_secure_channel.h
diff --git a/components/cryptauth/fake_secure_channel.h b/components/cryptauth/fake_secure_channel.h
index e086801b9572ac01145e6e6fb15ce5f9d4ab128a..4a202d9a771e6c9011d5b09eacb0e7eb905d0013 100644
--- a/components/cryptauth/fake_secure_channel.h
+++ b/components/cryptauth/fake_secure_channel.h
@@ -10,11 +10,13 @@
namespace cryptauth {
+class CryptAuthService;
+
// A fake implementation of SecureChannel to use in tests.
class FakeSecureChannel : public SecureChannel {
public:
FakeSecureChannel(std::unique_ptr<Connection> connection,
- std::unique_ptr<Delegate> delegate);
+ CryptAuthService* cryptauth_service);
~FakeSecureChannel() override;
struct SentMessage {
« no previous file with comments | « chromeos/components/tether/ble_connection_manager_unittest.cc ('k') | components/cryptauth/fake_secure_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698