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

Unified Diff: remoting/protocol/fake_authenticator.cc

Issue 1197853003: Add P2PDatagramSocket and P2PStreamSocket interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « remoting/protocol/fake_authenticator.h ('k') | remoting/protocol/fake_datagram_socket.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_authenticator.cc
diff --git a/remoting/protocol/fake_authenticator.cc b/remoting/protocol/fake_authenticator.cc
index d597568b075773d7f908d32f54350b9c1b2f1433..b4b9493b75c05796e4d0f7af0dc6e974d3a5c859 100644
--- a/remoting/protocol/fake_authenticator.cc
+++ b/remoting/protocol/fake_authenticator.cc
@@ -9,8 +9,8 @@
#include "base/strings/string_number_conversions.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
-#include "net/socket/stream_socket.h"
#include "remoting/base/constants.h"
+#include "remoting/protocol/p2p_stream_socket.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
@@ -29,7 +29,7 @@ FakeChannelAuthenticator::~FakeChannelAuthenticator() {
}
void FakeChannelAuthenticator::SecureAndAuthenticate(
- scoped_ptr<net::StreamSocket> socket,
+ scoped_ptr<P2PStreamSocket> socket,
const DoneCallback& done_callback) {
socket_ = socket.Pass();
« no previous file with comments | « remoting/protocol/fake_authenticator.h ('k') | remoting/protocol/fake_datagram_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698