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

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, 4 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) 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Creates P2PTransportImpl using specified 45 // Creates P2PTransportImpl using specified
46 // P2PSocketDispatcher. This constructor creates IpcNetworkManager 46 // P2PSocketDispatcher. This constructor creates IpcNetworkManager
47 // and IpcPacketSocketFactory, and keeps ownership of these objects. 47 // and IpcPacketSocketFactory, and keeps ownership of these objects.
48 explicit P2PTransportImpl(P2PSocketDispatcher* socket_dispatcher); 48 explicit P2PTransportImpl(P2PSocketDispatcher* socket_dispatcher);
49 49
50 virtual ~P2PTransportImpl(); 50 virtual ~P2PTransportImpl();
51 51
52 // webkit_glue::P2PTransport interface. 52 // webkit_glue::P2PTransport interface.
53 virtual bool Init(const std::string& name, 53 virtual bool Init(const std::string& name,
54 Protocol protocol, 54 Protocol protocol,
55 const std::string& config, 55 const Config& config,
56 EventHandler* event_handler) OVERRIDE; 56 EventHandler* event_handler) OVERRIDE;
57 virtual bool AddRemoteCandidate(const std::string& address) OVERRIDE; 57 virtual bool AddRemoteCandidate(const std::string& address) OVERRIDE;
58 virtual net::Socket* GetChannel() OVERRIDE; 58 virtual net::Socket* GetChannel() OVERRIDE;
59 59
60 private: 60 private:
61 class ChannelAdapter; 61 class ChannelAdapter;
62 62
63 void OnRequestSignaling(); 63 void OnRequestSignaling();
64 void OnCandidateReady(cricket::TransportChannelImpl* channel, 64 void OnCandidateReady(cricket::TransportChannelImpl* channel,
65 const cricket::Candidate& candidate); 65 const cricket::Candidate& candidate);
(...skipping 14 matching lines...) Expand all
80 80
81 scoped_ptr<jingle_glue::TransportChannelSocketAdapter> channel_adapter_; 81 scoped_ptr<jingle_glue::TransportChannelSocketAdapter> channel_adapter_;
82 scoped_ptr<jingle_glue::PseudoTcpAdapter> pseudo_tcp_adapter_; 82 scoped_ptr<jingle_glue::PseudoTcpAdapter> pseudo_tcp_adapter_;
83 83
84 net::CompletionCallbackImpl<P2PTransportImpl> connect_callback_; 84 net::CompletionCallbackImpl<P2PTransportImpl> connect_callback_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(P2PTransportImpl); 86 DISALLOW_COPY_AND_ASSIGN(P2PTransportImpl);
87 }; 87 };
88 88
89 #endif // CONTENT_RENDERER_P2P_P2P_TRANSPORT_IMPL_H_ 89 #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') | ppapi/c/dev/ppb_transport_dev.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698