OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ | 5 #ifndef NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ |
6 #define NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ | 6 #define NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ |
7 | 7 |
| 8 #include <list> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop_proxy.h" |
11 #include "net/base/completion_callback.h" | 12 #include "net/base/completion_callback.h" |
12 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
13 #include "net/disk_cache/entry_impl.h" | 14 #include "net/disk_cache/entry_impl.h" |
14 #include "net/disk_cache/in_flight_io.h" | 15 #include "net/disk_cache/in_flight_io.h" |
15 | 16 |
16 namespace disk_cache { | 17 namespace disk_cache { |
17 | 18 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 BackendImpl* backend_; | 192 BackendImpl* backend_; |
192 scoped_refptr<base::MessageLoopProxy> background_thread_; | 193 scoped_refptr<base::MessageLoopProxy> background_thread_; |
193 OperationList pending_ops_; // The list of operations to be posted. | 194 OperationList pending_ops_; // The list of operations to be posted. |
194 | 195 |
195 DISALLOW_COPY_AND_ASSIGN(InFlightBackendIO); | 196 DISALLOW_COPY_AND_ASSIGN(InFlightBackendIO); |
196 }; | 197 }; |
197 | 198 |
198 } // namespace disk_cache | 199 } // namespace disk_cache |
199 | 200 |
200 #endif // NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ | 201 #endif // NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ |
OLD | NEW |