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

Side by Side Diff: content/renderer/p2p/p2p_transport_impl.h

Issue 10382003: Changes needed to roll libjingle r141 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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 #ifndef CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_
6 #define CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_ 6 #define CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const cricket::Candidate& candidate); 71 const cricket::Candidate& candidate);
72 void OnReadableState(cricket::TransportChannel* channel); 72 void OnReadableState(cricket::TransportChannel* channel);
73 void OnWriteableState(cricket::TransportChannel* channel); 73 void OnWriteableState(cricket::TransportChannel* channel);
74 74
75 void OnTcpConnected(int result); 75 void OnTcpConnected(int result);
76 76
77 P2PSocketDispatcher* socket_dispatcher_; 77 P2PSocketDispatcher* socket_dispatcher_;
78 std::string name_; 78 std::string name_;
79 EventHandler* event_handler_; 79 EventHandler* event_handler_;
80 State state_; 80 State state_;
81 std::string ice_username_fragment_;
82 std::string ice_password_;
81 83
82 scoped_ptr<talk_base::NetworkManager> network_manager_; 84 scoped_ptr<talk_base::NetworkManager> network_manager_;
83 scoped_ptr<talk_base::PacketSocketFactory> socket_factory_; 85 scoped_ptr<talk_base::PacketSocketFactory> socket_factory_;
84 86
85 scoped_ptr<cricket::PortAllocator> allocator_; 87 scoped_ptr<cricket::PortAllocator> allocator_;
86 scoped_ptr<cricket::P2PTransportChannel> channel_; 88 scoped_ptr<cricket::P2PTransportChannel> channel_;
87 89
88 scoped_ptr<jingle_glue::TransportChannelSocketAdapter> channel_adapter_; 90 scoped_ptr<jingle_glue::TransportChannelSocketAdapter> channel_adapter_;
89 scoped_ptr<jingle_glue::PseudoTcpAdapter> pseudo_tcp_adapter_; 91 scoped_ptr<jingle_glue::PseudoTcpAdapter> pseudo_tcp_adapter_;
90 92
91 DISALLOW_COPY_AND_ASSIGN(P2PTransportImpl); 93 DISALLOW_COPY_AND_ASSIGN(P2PTransportImpl);
92 }; 94 };
93 95
94 } // namespace content 96 } // namespace content
95 97
96 #endif // CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_ 98 #endif // CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698