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

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

Issue 3044006: Disk cache: Protect the code against misuse...... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 | « no previous file | net/disk_cache/in_flight_io.h » ('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) 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
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_
OLDNEW
« no previous file with comments | « no previous file | net/disk_cache/in_flight_io.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698