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

Side by Side Diff: content/browser/renderer_host/p2p/socket_host.h

Issue 11574040: Get rid of ipc_sender.h include in ipc_message.h. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: asdf Created 8 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
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_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/p2p_sockets.h" 9 #include "content/common/p2p_sockets.h"
10 10
11 #include "ipc/ipc_message.h"
12 #include "net/base/ip_endpoint.h" 11 #include "net/base/ip_endpoint.h"
13 12
13 namespace IPC {
14 class Sender;
15 }
16
14 namespace content { 17 namespace content {
15 18
16 // Base class for P2P sockets. 19 // Base class for P2P sockets.
17 class CONTENT_EXPORT P2PSocketHost { 20 class CONTENT_EXPORT P2PSocketHost {
18 public: 21 public:
19 // Creates P2PSocketHost of the specific type. 22 // Creates P2PSocketHost of the specific type.
20 static P2PSocketHost* Create(IPC::Sender* message_sender, 23 static P2PSocketHost* Create(IPC::Sender* message_sender,
21 int id, P2PSocketType type); 24 int id, P2PSocketType type);
22 25
23 virtual ~P2PSocketHost(); 26 virtual ~P2PSocketHost();
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 IPC::Sender* message_sender_; 82 IPC::Sender* message_sender_;
80 int id_; 83 int id_;
81 State state_; 84 State state_;
82 85
83 DISALLOW_COPY_AND_ASSIGN(P2PSocketHost); 86 DISALLOW_COPY_AND_ASSIGN(P2PSocketHost);
84 }; 87 };
85 88
86 } // namespace content 89 } // namespace content
87 90
88 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_ 91 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/external_process_importer_bridge.cc ('k') | content/browser/renderer_host/p2p/socket_host_tcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698