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

Side by Side Diff: net/curvecp/packetizer.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
« no previous file with comments | « net/curvecp/client_packetizer.h ('k') | net/proxy/init_proxy_resolver.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 NET_CURVECP_PACKETIZER_H_ 5 #ifndef NET_CURVECP_PACKETIZER_H_
6 #define NET_CURVECP_PACKETIZER_H_ 6 #define NET_CURVECP_PACKETIZER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/curvecp/connection_key.h" 12 #include "net/curvecp/connection_key.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class IPEndPoint; 16 class IPEndPoint;
17 17
18 class Packetizer { 18 class Packetizer {
19 public: 19 public:
20 class Listener { 20 class Listener {
(...skipping 21 matching lines...) Expand all
42 virtual int GetPeerAddress(IPEndPoint* addresses) const = 0; 42 virtual int GetPeerAddress(IPEndPoint* addresses) const = 0;
43 43
44 // Returns the current maximum message size which can be fit into the next 44 // Returns the current maximum message size which can be fit into the next
45 // message payload to be sent on the packetizer. 45 // message payload to be sent on the packetizer.
46 virtual int max_message_payload() const = 0; 46 virtual int max_message_payload() const = 0;
47 }; 47 };
48 48
49 } // namespace net 49 } // namespace net
50 50
51 #endif // NET_CURVECP_PACKETIZER_H_ 51 #endif // NET_CURVECP_PACKETIZER_H_
OLDNEW
« no previous file with comments | « net/curvecp/client_packetizer.h ('k') | net/proxy/init_proxy_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698