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

Side by Side Diff: net/curvecp/server_messenger.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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/messenger.h ('k') | net/curvecp/test_client.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_SERVER_MESSENGER_H_ 5 #ifndef NET_CURVECP_SERVER_MESSENGER_H_
6 #define NET_CURVECP_SERVER_MESSENGER_H_ 6 #define NET_CURVECP_SERVER_MESSENGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/task.h"
14 #include "net/curvecp/messenger.h" 13 #include "net/curvecp/messenger.h"
15 #include "net/curvecp/packetizer.h" 14 #include "net/curvecp/packetizer.h"
16 #include "net/socket/socket.h" 15 #include "net/socket/socket.h"
17 16
18 namespace net { 17 namespace net {
19 18
20 // A specialized messenger for listening on a socket, accepting new sockets, 19 // A specialized messenger for listening on a socket, accepting new sockets,
21 // and dispatching io to secondary 20 // and dispatching io to secondary
22 class ServerMessenger : public Messenger { 21 class ServerMessenger : public Messenger {
23 public: 22 public:
(...skipping 13 matching lines...) Expand all
37 virtual void OnConnection(ConnectionKey key) OVERRIDE; 36 virtual void OnConnection(ConnectionKey key) OVERRIDE;
38 37
39 private: 38 private:
40 Acceptor* acceptor_; 39 Acceptor* acceptor_;
41 DISALLOW_COPY_AND_ASSIGN(ServerMessenger); 40 DISALLOW_COPY_AND_ASSIGN(ServerMessenger);
42 }; 41 };
43 42
44 } // namespace net 43 } // namespace net
45 44
46 #endif // NET_CURVECP_SERVER_MESSENGER_H_ 45 #endif // NET_CURVECP_SERVER_MESSENGER_H_
OLDNEW
« no previous file with comments | « net/curvecp/messenger.h ('k') | net/curvecp/test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698