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

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

Issue 7149008: Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix nits Created 9 years, 6 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_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector>
9 10
10 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 14 #include "base/message_loop.h"
13 #include "base/scoped_ptr.h"
14 #include "content/browser/renderer_host/p2p/socket_host.h" 15 #include "content/browser/renderer_host/p2p/socket_host.h"
15 #include "content/common/p2p_sockets.h" 16 #include "content/common/p2p_sockets.h"
16 #include "net/base/ip_endpoint.h" 17 #include "net/base/ip_endpoint.h"
17 #include "net/udp/udp_server_socket.h" 18 #include "net/udp/udp_server_socket.h"
18 19
19 class P2PSocketHostUdp : public P2PSocketHost { 20 class P2PSocketHostUdp : public P2PSocketHost {
20 public: 21 public:
21 P2PSocketHostUdp(IPC::Message::Sender* message_sender, 22 P2PSocketHostUdp(IPC::Message::Sender* message_sender,
22 int routing_id, int id); 23 int routing_id, int id);
23 virtual ~P2PSocketHostUdp(); 24 virtual ~P2PSocketHostUdp();
(...skipping 28 matching lines...) Expand all
52 // response. 53 // response.
53 AuthorizedPeerSet authorized_peers_; 54 AuthorizedPeerSet authorized_peers_;
54 55
55 net::CompletionCallbackImpl<P2PSocketHostUdp> recv_callback_; 56 net::CompletionCallbackImpl<P2PSocketHostUdp> recv_callback_;
56 net::CompletionCallbackImpl<P2PSocketHostUdp> send_callback_; 57 net::CompletionCallbackImpl<P2PSocketHostUdp> send_callback_;
57 58
58 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostUdp); 59 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostUdp);
59 }; 60 };
60 61
61 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ 62 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_tcp_server.h ('k') | content/common/gpu/transport_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698