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

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

Issue 7713021: Add SetProperty() in the PPB_Transport_Dev interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 3 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 | « no previous file | content/renderer/p2p/p2p_transport_impl.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 #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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Creates P2PTransportImpl using specified 47 // Creates P2PTransportImpl using specified
48 // P2PSocketDispatcher. This constructor creates IpcNetworkManager 48 // P2PSocketDispatcher. This constructor creates IpcNetworkManager
49 // and IpcPacketSocketFactory, and keeps ownership of these objects. 49 // and IpcPacketSocketFactory, and keeps ownership of these objects.
50 explicit P2PTransportImpl(P2PSocketDispatcher* socket_dispatcher); 50 explicit P2PTransportImpl(P2PSocketDispatcher* socket_dispatcher);
51 51
52 virtual ~P2PTransportImpl(); 52 virtual ~P2PTransportImpl();
53 53
54 // webkit_glue::P2PTransport interface. 54 // webkit_glue::P2PTransport interface.
55 virtual bool Init(const std::string& name, 55 virtual bool Init(const std::string& name,
56 Protocol protocol, 56 Protocol protocol,
57 const std::string& config, 57 const Config& config,
58 EventHandler* event_handler) OVERRIDE; 58 EventHandler* event_handler) OVERRIDE;
59 virtual bool AddRemoteCandidate(const std::string& address) OVERRIDE; 59 virtual bool AddRemoteCandidate(const std::string& address) OVERRIDE;
60 virtual net::Socket* GetChannel() OVERRIDE; 60 virtual net::Socket* GetChannel() OVERRIDE;
61 61
62 private: 62 private:
63 class ChannelAdapter; 63 class ChannelAdapter;
64 64
65 void OnRequestSignaling(); 65 void OnRequestSignaling();
66 void OnCandidateReady(cricket::TransportChannelImpl* channel, 66 void OnCandidateReady(cricket::TransportChannelImpl* channel,
67 const cricket::Candidate& candidate); 67 const cricket::Candidate& candidate);
(...skipping 16 matching lines...) Expand all
84 scoped_ptr<jingle_glue::PseudoTcpAdapter> pseudo_tcp_adapter_; 84 scoped_ptr<jingle_glue::PseudoTcpAdapter> pseudo_tcp_adapter_;
85 85
86 net::CompletionCallbackImpl<P2PTransportImpl> connect_callback_; 86 net::CompletionCallbackImpl<P2PTransportImpl> connect_callback_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(P2PTransportImpl); 88 DISALLOW_COPY_AND_ASSIGN(P2PTransportImpl);
89 }; 89 };
90 90
91 } // namespace content 91 } // namespace content
92 92
93 #endif // CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_ 93 #endif // CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/p2p/p2p_transport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698