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

Side by Side Diff: jingle/glue/fake_socket_factory.cc

Issue 19607005: Use a direct include of the message_loop header in dbus/, device/, extensions/, google_apis/, gpu/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/glue/fake_network_manager.cc ('k') | jingle/glue/fake_ssl_client_socket_unittest.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "jingle/glue/fake_socket_factory.h" 5 #include "jingle/glue/fake_socket_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "jingle/glue/utils.h" 9 #include "jingle/glue/utils.h"
10 #include "third_party/libjingle/source/talk/base/asyncsocket.h" 10 #include "third_party/libjingle/source/talk/base/asyncsocket.h"
11 11
12 namespace jingle_glue { 12 namespace jingle_glue {
13 13
14 FakeUDPPacketSocket::FakeUDPPacketSocket(FakeSocketManager* fake_socket_manager, 14 FakeUDPPacketSocket::FakeUDPPacketSocket(FakeSocketManager* fake_socket_manager,
15 const net::IPEndPoint& address) 15 const net::IPEndPoint& address)
16 : fake_socket_manager_(fake_socket_manager), 16 : fake_socket_manager_(fake_socket_manager),
17 endpoint_(address), state_(IS_OPEN), error_(0) { 17 endpoint_(address), state_(IS_OPEN), error_(0) {
18 CHECK(IPEndPointToSocketAddress(endpoint_, &local_address_)); 18 CHECK(IPEndPointToSocketAddress(endpoint_, &local_address_));
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 const talk_base::SocketAddress& local_address, 186 const talk_base::SocketAddress& local_address,
187 const talk_base::SocketAddress& remote_address, 187 const talk_base::SocketAddress& remote_address,
188 const talk_base::ProxyInfo& proxy_info, const std::string& user_agent, 188 const talk_base::ProxyInfo& proxy_info, const std::string& user_agent,
189 int opts) { 189 int opts) {
190 // TODO(sergeyu): Implement fake TCP sockets. 190 // TODO(sergeyu): Implement fake TCP sockets.
191 NOTIMPLEMENTED(); 191 NOTIMPLEMENTED();
192 return NULL; 192 return NULL;
193 } 193 }
194 194
195 } // namespace jingle_glue 195 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/fake_network_manager.cc ('k') | jingle/glue/fake_ssl_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698