| 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/basictypes.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" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 int total_read_; | 61 int total_read_; |
| 62 CompletionCallback user_callback_; | 62 CompletionCallback user_callback_; |
| 63 base::OneShotTimer<HttpResponseBodyDrainer> timer_; | 63 base::OneShotTimer<HttpResponseBodyDrainer> timer_; |
| 64 HttpNetworkSession* session_; | 64 HttpNetworkSession* session_; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(HttpResponseBodyDrainer); | 66 DISALLOW_COPY_AND_ASSIGN(HttpResponseBodyDrainer); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace net | 69 } // namespace net |
| 70 | 70 |
| 71 #endif // NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ | 71 #endif // NET_HTTP_HTTP_RESPONSE_BODY_DRAINER_H_ |
| OLD | NEW |