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

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

Issue 8798001: base::Bind: Convert browsing_data_remover. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/disk_cache.h ('k') | net/disk_cache/in_flight_backend_io.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 void OpenEntry(const std::string& key, Entry** entry, 154 void OpenEntry(const std::string& key, Entry** entry,
155 net::OldCompletionCallback* callback); 155 net::OldCompletionCallback* callback);
156 void OpenEntry(const std::string& key, Entry** entry, 156 void OpenEntry(const std::string& key, Entry** entry,
157 const net::CompletionCallback& callback); 157 const net::CompletionCallback& callback);
158 void CreateEntry(const std::string& key, Entry** entry, 158 void CreateEntry(const std::string& key, Entry** entry,
159 net::OldCompletionCallback* callback); 159 net::OldCompletionCallback* callback);
160 void CreateEntry(const std::string& key, Entry** entry, 160 void CreateEntry(const std::string& key, Entry** entry,
161 const net::CompletionCallback& callback); 161 const net::CompletionCallback& callback);
162 void DoomEntry(const std::string& key, net::OldCompletionCallback* callback); 162 void DoomEntry(const std::string& key, net::OldCompletionCallback* callback);
163 void DoomAllEntries(net::OldCompletionCallback* callback); 163 void DoomAllEntries(net::OldCompletionCallback* callback);
164 void DoomAllEntries(const net::CompletionCallback& callback);
164 void DoomEntriesBetween(const base::Time initial_time, 165 void DoomEntriesBetween(const base::Time initial_time,
165 const base::Time end_time, 166 const base::Time end_time,
166 net::OldCompletionCallback* callback); 167 net::OldCompletionCallback* callback);
168 void DoomEntriesBetween(const base::Time initial_time,
169 const base::Time end_time,
170 const net::CompletionCallback& callback);
167 void DoomEntriesSince(const base::Time initial_time, 171 void DoomEntriesSince(const base::Time initial_time,
168 net::OldCompletionCallback* callback); 172 net::OldCompletionCallback* callback);
169 void OpenNextEntry(void** iter, Entry** next_entry, 173 void OpenNextEntry(void** iter, Entry** next_entry,
170 net::OldCompletionCallback* callback); 174 net::OldCompletionCallback* callback);
171 void OpenPrevEntry(void** iter, Entry** prev_entry, 175 void OpenPrevEntry(void** iter, Entry** prev_entry,
172 net::OldCompletionCallback* callback); 176 net::OldCompletionCallback* callback);
173 void EndEnumeration(void* iterator); 177 void EndEnumeration(void* iterator);
174 void OnExternalCacheHit(const std::string& key); 178 void OnExternalCacheHit(const std::string& key);
175 void CloseEntryImpl(EntryImpl* entry); 179 void CloseEntryImpl(EntryImpl* entry);
176 void DoomEntryImpl(EntryImpl* entry); 180 void DoomEntryImpl(EntryImpl* entry);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 220
217 BackendImpl* backend_; 221 BackendImpl* backend_;
218 scoped_refptr<base::MessageLoopProxy> background_thread_; 222 scoped_refptr<base::MessageLoopProxy> background_thread_;
219 223
220 DISALLOW_COPY_AND_ASSIGN(InFlightBackendIO); 224 DISALLOW_COPY_AND_ASSIGN(InFlightBackendIO);
221 }; 225 };
222 226
223 } // namespace disk_cache 227 } // namespace disk_cache
224 228
225 #endif // NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_ 229 #endif // NET_DISK_CACHE_IN_FLIGHT_BACKEND_IO_H_
OLDNEW
« no previous file with comments | « net/disk_cache/disk_cache.h ('k') | net/disk_cache/in_flight_backend_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698