| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <list> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop/message_loop_proxy.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
| 14 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
| 15 #include "net/disk_cache/in_flight_io.h" | 15 #include "net/disk_cache/in_flight_io.h" |
| 16 | 16 |
| 17 namespace disk_cache { | 17 namespace disk_cache { |
| 18 | 18 |
| 19 class BackendImpl; | 19 class BackendImpl; |
| 20 class Entry; | 20 class Entry; |
| 21 class EntryImpl; | 21 class EntryImpl; |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 BackendImpl* backend_; | 214 BackendImpl* backend_; |
| 215 scoped_refptr<base::MessageLoopProxy> background_thread_; | 215 scoped_refptr<base::MessageLoopProxy> background_thread_; |
| 216 base::WeakPtrFactory<InFlightBackendIO> ptr_factory_; | 216 base::WeakPtrFactory<InFlightBackendIO> ptr_factory_; |
| 217 | 217 |
| 218 DISALLOW_COPY_AND_ASSIGN(InFlightBackendIO); | 218 DISALLOW_COPY_AND_ASSIGN(InFlightBackendIO); |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 } // namespace disk_cache | 221 } // namespace disk_cache |
| 222 | 222 |
| 223 #endif // NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ | 223 #endif // NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ |
| OLD | NEW |