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

Unified Diff: components/cryptauth/fake_secure_channel.cc

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
« no previous file with comments | « components/cryptauth/fake_secure_channel.h ('k') | components/cryptauth/secure_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cryptauth/fake_secure_channel.cc
diff --git a/components/cryptauth/fake_secure_channel.cc b/components/cryptauth/fake_secure_channel.cc
index e06a0d4dd44c4caeabd8fe4d1cc186445b274659..03956aadc48792899f68a7b95a09f17809d9b95e 100644
--- a/components/cryptauth/fake_secure_channel.cc
+++ b/components/cryptauth/fake_secure_channel.cc
@@ -13,8 +13,8 @@ FakeSecureChannel::SentMessage::SentMessage(const std::string& feature,
: feature(feature), payload(payload) {}
FakeSecureChannel::FakeSecureChannel(std::unique_ptr<Connection> connection,
- std::unique_ptr<Delegate> delegate)
- : SecureChannel(std::move(connection), std::move(delegate)) {}
+ CryptAuthService* cryptauth_service)
+ : SecureChannel(std::move(connection), cryptauth_service) {}
FakeSecureChannel::~FakeSecureChannel() {}
« no previous file with comments | « components/cryptauth/fake_secure_channel.h ('k') | components/cryptauth/secure_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698