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

Side by Side Diff: remoting/protocol/pepper_stream_channel.h

Issue 8824006: Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years 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 | « remoting/protocol/message_reader.cc ('k') | remoting/protocol/pepper_stream_channel.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 REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ 5 #ifndef REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_
6 #define REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ 6 #define REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 scoped_ptr<ChannelAuthenticator> authenticator_; 60 scoped_ptr<ChannelAuthenticator> authenticator_;
61 61
62 // We own |channel_| until it is connected. After that 62 // We own |channel_| until it is connected. After that
63 // |authenticator_| owns it. 63 // |authenticator_| owns it.
64 scoped_ptr<PepperTransportSocketAdapter> owned_channel_; 64 scoped_ptr<PepperTransportSocketAdapter> owned_channel_;
65 PepperTransportSocketAdapter* channel_; 65 PepperTransportSocketAdapter* channel_;
66 66
67 // Indicates that we've finished connecting. 67 // Indicates that we've finished connecting.
68 bool connected_; 68 bool connected_;
69 69
70 // Callback called by the TCP layer.
71 net::OldCompletionCallbackImpl<PepperStreamChannel> p2p_connect_callback_;
72
73 DISALLOW_COPY_AND_ASSIGN(PepperStreamChannel); 70 DISALLOW_COPY_AND_ASSIGN(PepperStreamChannel);
74 }; 71 };
75 72
76 } // namespace protocol 73 } // namespace protocol
77 } // namespace remoting 74 } // namespace remoting
78 75
79 #endif // REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_ 76 #endif // REMOTING_PROTOCOL_PEPPER_STREAM_CHANNEL_H_
OLDNEW
« no previous file with comments | « remoting/protocol/message_reader.cc ('k') | remoting/protocol/pepper_stream_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698