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

Side by Side Diff: remoting/client/plugin/pepper_packet_socket_factory.cc

Issue 390983003: Remove remoting/jingle_glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "remoting/client/plugin/pepper_packet_socket_factory.h" 5 #include "remoting/client/plugin/pepper_packet_socket_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "net/base/io_buffer.h" 9 #include "net/base/io_buffer.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
11 #include "ppapi/cpp/net_address.h" 11 #include "ppapi/cpp/net_address.h"
12 #include "ppapi/cpp/udp_socket.h" 12 #include "ppapi/cpp/udp_socket.h"
13 #include "ppapi/utility/completion_callback_factory.h" 13 #include "ppapi/utility/completion_callback_factory.h"
14 #include "remoting/client/plugin/pepper_util.h" 14 #include "remoting/client/plugin/pepper_util.h"
15 #include "remoting/jingle_glue/socket_util.h" 15 #include "remoting/protocol/socket_util.h"
16 #include "third_party/libjingle/source/talk/base/asyncpacketsocket.h" 16 #include "third_party/libjingle/source/talk/base/asyncpacketsocket.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 namespace { 20 namespace {
21 21
22 // Size of the buffer to allocate for RecvFrom(). 22 // Size of the buffer to allocate for RecvFrom().
23 const int kReceiveBufferSize = 65536; 23 const int kReceiveBufferSize = 65536;
24 24
25 // Maximum amount of data in the send buffers. This is necessary to 25 // Maximum amount of data in the send buffers. This is necessary to
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 return NULL; 435 return NULL;
436 } 436 }
437 437
438 talk_base::AsyncResolverInterface* 438 talk_base::AsyncResolverInterface*
439 PepperPacketSocketFactory::CreateAsyncResolver() { 439 PepperPacketSocketFactory::CreateAsyncResolver() {
440 NOTREACHED(); 440 NOTREACHED();
441 return NULL; 441 return NULL;
442 } 442 }
443 443
444 } // namespace remoting 444 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/plugin/delegating_signal_strategy.h ('k') | remoting/client/server_log_entry_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698