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

Side by Side Diff: net/disk_cache/in_flight_io.h

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « net/disk_cache/in_flight_backend_io.h ('k') | net/disk_cache/simple/simple_backend_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IO_H_ 5 #ifndef NET_DISK_CACHE_IN_FLIGHT_IO_H_
6 #define NET_DISK_CACHE_IN_FLIGHT_IO_H_ 6 #define NET_DISK_CACHE_IN_FLIGHT_IO_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
11 #include "base/synchronization/lock.h" 11 #include "base/synchronization/lock.h"
12 #include "base/synchronization/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 13
14 namespace disk_cache { 14 namespace disk_cache {
15 15
16 class InFlightIO; 16 class InFlightIO;
17 17
18 // This class represents a single asynchronous IO operation while it is being 18 // This class represents a single asynchronous IO operation while it is being
19 // bounced between threads. 19 // bounced between threads.
20 class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> { 20 class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 bool running_; // True after the first posted operation completes. 128 bool running_; // True after the first posted operation completes.
129 bool single_thread_; // True if we only have one thread. 129 bool single_thread_; // True if we only have one thread.
130 130
131 DISALLOW_COPY_AND_ASSIGN(InFlightIO); 131 DISALLOW_COPY_AND_ASSIGN(InFlightIO);
132 }; 132 };
133 133
134 } // namespace disk_cache 134 } // namespace disk_cache
135 135
136 #endif // NET_DISK_CACHE_IN_FLIGHT_IO_H_ 136 #endif // NET_DISK_CACHE_IN_FLIGHT_IO_H_
OLDNEW
« no previous file with comments | « net/disk_cache/in_flight_backend_io.h ('k') | net/disk_cache/simple/simple_backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698