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

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

Issue 8525020: Cleanup: Remove unneeded forward declararations in net. (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 | « net/base/network_delegate.h ('k') | net/curvecp/received_block_list.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_MESSENGER_H_ 5 #ifndef NET_CURVECP_MESSENGER_H_
6 #define NET_CURVECP_MESSENGER_H_ 6 #define NET_CURVECP_MESSENGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <list> 10 #include <list>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/task.h" 13 #include "base/task.h"
14 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
15 #include "base/timer.h" 15 #include "base/timer.h"
16 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
17 #include "net/curvecp/circular_buffer.h" 17 #include "net/curvecp/circular_buffer.h"
18 #include "net/curvecp/packetizer.h" 18 #include "net/curvecp/packetizer.h"
19 #include "net/curvecp/received_block_list.h" 19 #include "net/curvecp/received_block_list.h"
20 #include "net/curvecp/rtt_and_send_rate_calculator.h" 20 #include "net/curvecp/rtt_and_send_rate_calculator.h"
21 #include "net/curvecp/sent_block_list.h" 21 #include "net/curvecp/sent_block_list.h"
22 #include "net/socket/socket.h" 22 #include "net/socket/socket.h"
23 23
24 namespace net { 24 namespace net {
25 25
26 class DrainableIOBuffer;
27 class IOBufferWithSize; 26 class IOBufferWithSize;
28 class Packetizer; 27 class Packetizer;
29 28
30 // The messenger provides the reliable CurveCP transport. 29 // The messenger provides the reliable CurveCP transport.
31 class Messenger : public base::NonThreadSafe, 30 class Messenger : public base::NonThreadSafe,
32 public Packetizer::Listener { 31 public Packetizer::Listener {
33 public: 32 public:
34 explicit Messenger(Packetizer* packetizer); 33 explicit Messenger(Packetizer* packetizer);
35 virtual ~Messenger(); 34 virtual ~Messenger();
36 35
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 94
96 OldCompletionCallbackImpl<Messenger> send_message_callback_; 95 OldCompletionCallbackImpl<Messenger> send_message_callback_;
97 96
98 ScopedRunnableMethodFactory<Messenger> factory_; 97 ScopedRunnableMethodFactory<Messenger> factory_;
99 DISALLOW_COPY_AND_ASSIGN(Messenger); 98 DISALLOW_COPY_AND_ASSIGN(Messenger);
100 }; 99 };
101 100
102 } // namespace net 101 } // namespace net
103 102
104 #endif // NET_CURVECP_MESSENGER_H_ 103 #endif // NET_CURVECP_MESSENGER_H_
OLDNEW
« no previous file with comments | « net/base/network_delegate.h ('k') | net/curvecp/received_block_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698