OLD | NEW |
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_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ | 5 #ifndef NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ |
6 #define NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ | 6 #define NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/timer/timer.h" | 11 #include "base/timer/timer.h" |
12 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
14 #include "net/http/http_network_session.h" | 14 #include "net/http/http_network_session.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 class HttpStream; | 18 class HttpStream; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 CompletionCallback user_callback_; | 58 CompletionCallback user_callback_; |
59 base::OneShotTimer timer_; | 59 base::OneShotTimer timer_; |
60 HttpNetworkSession* session_; | 60 HttpNetworkSession* session_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(HttpResponseBodyDrainer); | 62 DISALLOW_COPY_AND_ASSIGN(HttpResponseBodyDrainer); |
63 }; | 63 }; |
64 | 64 |
65 } // namespace net | 65 } // namespace net |
66 | 66 |
67 #endif // NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ | 67 #endif // NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ |
OLD | NEW |