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

Issue 7549027: Rename PepperP2PChannel to PepperTransportSocketAdaptor (Closed)

Created:
9 years, 4 months ago by Sergey Ulanov
Modified:
9 years, 4 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Rename PepperP2PChannel to PepperTransportSocketAdaptor. Implement net::SocketStream interface. BUG=51198 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95325

Patch Set 1 #

Total comments: 41

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : - #

Patch Set 5 : adaptor->adapter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -248 lines) Patch
D remoting/protocol/pepper_p2p_channel.h View 1 chunk +0 lines, -76 lines 0 comments Download
D remoting/protocol/pepper_p2p_channel.cc View 1 chunk +0 lines, -170 lines 0 comments Download
A remoting/protocol/pepper_transport_socket_adapter.h View 1 2 3 4 1 chunk +109 lines, -0 lines 0 comments Download
A remoting/protocol/pepper_transport_socket_adapter.cc View 1 2 3 4 1 chunk +259 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sergey Ulanov
9 years, 4 months ago (2011-08-02 22:46:37 UTC) #1
Wez
I have two issues with this CL: 1. I think we need separate stream vs ...
9 years, 4 months ago (2011-08-02 23:13:24 UTC) #2
Sergey Ulanov
1. Removed support for UDP sockets. We don't use UDP sockets anyway. 2. I think ...
9 years, 4 months ago (2011-08-03 00:02:16 UTC) #3
Wez
http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transport_socket_adaptor.cc File remoting/protocol/pepper_transport_socket_adaptor.cc (right): http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transport_socket_adaptor.cc#newcode75 remoting/protocol/pepper_transport_socket_adaptor.cc:75: &PepperTransportSocketAdaptor::OnRead))); On 2011/08/03 00:02:16, sergeyu wrote: > On 2011/08/02 ...
9 years, 4 months ago (2011-08-03 00:34:48 UTC) #4
Sergey Ulanov
http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transport_socket_adaptor.cc File remoting/protocol/pepper_transport_socket_adaptor.cc (right): http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transport_socket_adaptor.cc#newcode75 remoting/protocol/pepper_transport_socket_adaptor.cc:75: &PepperTransportSocketAdaptor::OnRead))); On 2011/08/03 00:34:48, Wez wrote: > On 2011/08/03 ...
9 years, 4 months ago (2011-08-03 00:43:37 UTC) #5
Wez
OK, LGTM once the comments on the .h are addressed.
9 years, 4 months ago (2011-08-03 00:47:10 UTC) #6
Sergey Ulanov
9 years, 4 months ago (2011-08-03 00:55:23 UTC) #7
http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
File remoting/protocol/pepper_transport_socket_adaptor.h (right):

http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
remoting/protocol/pepper_transport_socket_adaptor.h:5: #ifndef
REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTOR_H_
On 2011/08/02 23:13:24, Wez wrote:
> nit: adapter seems to be the more common spelling in the Chrome codebase, e.g.
> PseudoTcpAdapter.

Done.

http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
remoting/protocol/pepper_transport_socket_adaptor.h:26: // This class implements
net::StreamSocket interface the Pepper P2P
On 2011/08/02 23:13:24, Wez wrote:
> nit: Couple of missing words from this comment.

Done.

http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
remoting/protocol/pepper_transport_socket_adaptor.h:34: };
On 2011/08/02 23:13:24, Wez wrote:
> If this adaptor implements net::StreamSocket, it should implicitly be a
> stream-adaptor, not a dual stream/datagram adaptor.

Done.

http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
remoting/protocol/pepper_transport_socket_adaptor.h:36: // Observer is used to
notify about new outgoing candidates and
On 2011/08/02 23:13:24, Wez wrote:
> nit: They're "local" candidates, I think, not necessarily "outgoing".
they are "outgoing" because they need to be sent to the remote peer. changed it
to "local candidates"

http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
remoting/protocol/pepper_transport_socket_adaptor.h:37: // deletion of the
adapter.
On 2011/08/02 23:13:24, Wez wrote:
> nit: adapter vs adaptor.

Done.

http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
remoting/protocol/pepper_transport_socket_adaptor.h:43: virtual void
OnChannelNewCandidate(const std::string& candidate) = 0;
On 2011/08/02 23:13:24, Wez wrote:
> nit: NewCandidate->NewLocalCandidate?

Done.

http://codereview.chromium.org/7549027/diff/1/remoting/protocol/pepper_transp...
remoting/protocol/pepper_transport_socket_adaptor.h:48: ChannelType type,
On 2011/08/02 23:13:24, Wez wrote:
> See above.

Done.

Powered by Google App Engine
This is Rietveld 408576698