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

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

Issue 8536002: Cleanup: Remove unneeded forward declarations from remoting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/pepper_stream_channel.h ('k') | remoting/protocol/protocol_mock_objects.h » ('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_TRANSPORT_SOCKET_ADAPTER_H_ 5 #ifndef REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_
6 #define REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ 6 #define REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/threading/non_thread_safe.h" 12 #include "base/threading/non_thread_safe.h"
13 #include "net/base/net_log.h" 13 #include "net/base/net_log.h"
14 #include "net/socket/stream_socket.h" 14 #include "net/socket/stream_socket.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/cpp/completion_callback.h" 16 #include "ppapi/cpp/completion_callback.h"
17 17
18 namespace pp { 18 namespace pp {
19 class Instance;
20 class Transport_Dev; 19 class Transport_Dev;
21 } // namespace pp 20 } // namespace pp
22 21
23 namespace remoting { 22 namespace remoting {
24 namespace protocol { 23 namespace protocol {
25 24
26 // This class implements net::StreamSocket interface on top of the the 25 // This class implements net::StreamSocket interface on top of the the
27 // Pepper P2P Transport API. 26 // Pepper P2P Transport API.
28 class PepperTransportSocketAdapter : public base::NonThreadSafe, 27 class PepperTransportSocketAdapter : public base::NonThreadSafe,
29 public net::StreamSocket { 28 public net::StreamSocket {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 99
101 pp::CompletionCallbackFactory<PepperTransportSocketAdapter> callback_factory_; 100 pp::CompletionCallbackFactory<PepperTransportSocketAdapter> callback_factory_;
102 101
103 DISALLOW_COPY_AND_ASSIGN(PepperTransportSocketAdapter); 102 DISALLOW_COPY_AND_ASSIGN(PepperTransportSocketAdapter);
104 }; 103 };
105 104
106 } // namespace protocol 105 } // namespace protocol
107 } // namespace remoting 106 } // namespace remoting
108 107
109 #endif // REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_ 108 #endif // REMOTING_PROTOCOL_PEPPER_TRANSPORT_SOCKET_ADAPTER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/pepper_stream_channel.h ('k') | remoting/protocol/protocol_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698