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

Side by Side Diff: net/disk_cache/v2/in_flight_backend_io.h

Issue 121643003: Reorganize net/disk_cache into backend specific directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more include fixes Created 6 years, 10 months 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
OLDNEW
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_V2_IN_FLIGHT_BACKEND_IO_H_
6 #define NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ 6 #define NET_DISK_CACHE_V2_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/message_loop_proxy.h" 11 #include "base/message_loop/message_loop_proxy.h"
12 #include "base/time/time.h" 12 #include "base/time/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/v2/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;
22 22
23 // This class represents a single asynchronous disk cache IO operation while it 23 // This class represents a single asynchronous disk cache IO operation while it
24 // is being bounced between threads. 24 // is being bounced between threads.
25 class BackendIO : public BackgroundIO { 25 class BackendIO : public BackgroundIO {
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
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_V2_IN_FLIGHT_BACKEND_IO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698