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

Side by Side Diff: net/disk_cache/tracing/tracing_cache_backend.cc

Issue 542733002: Remove void** from disk_cache interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: narrowest, remove unused function Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "net/disk_cache/tracing/tracing_cache_backend.h" 5 #include "net/disk_cache/tracing/tracing_cache_backend.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 8
9 namespace disk_cache { 9 namespace disk_cache {
10 10
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 base::Time end_time, 290 base::Time end_time,
291 const CompletionCallback& cb) { 291 const CompletionCallback& cb) {
292 return backend_->DoomEntriesBetween(initial_time, end_time, cb); 292 return backend_->DoomEntriesBetween(initial_time, end_time, cb);
293 } 293 }
294 294
295 int TracingCacheBackend::DoomEntriesSince(base::Time initial_time, 295 int TracingCacheBackend::DoomEntriesSince(base::Time initial_time,
296 const CompletionCallback& callback) { 296 const CompletionCallback& callback) {
297 return backend_->DoomEntriesSince(initial_time, callback); 297 return backend_->DoomEntriesSince(initial_time, callback);
298 } 298 }
299 299
300 int TracingCacheBackend::OpenNextEntry(void** iter, Entry** next_entry, 300 int TracingCacheBackend::OpenNextEntry(Iterator* iter, Entry** next_entry,
301 const CompletionCallback& callback) { 301 const CompletionCallback& callback) {
302 return backend_->OpenNextEntry(iter, next_entry, callback); 302 return backend_->OpenNextEntry(iter, next_entry, callback);
303 } 303 }
304 304
305 void TracingCacheBackend::EndEnumeration(void** iter) {
306 return backend_->EndEnumeration(iter);
307 }
308
309 void TracingCacheBackend::GetStats(StatsItems* stats) { 305 void TracingCacheBackend::GetStats(StatsItems* stats) {
310 return backend_->GetStats(stats); 306 return backend_->GetStats(stats);
311 } 307 }
312 308
313 void TracingCacheBackend::OnExternalCacheHit(const std::string& key) { 309 void TracingCacheBackend::OnExternalCacheHit(const std::string& key) {
314 return backend_->OnExternalCacheHit(key); 310 return backend_->OnExternalCacheHit(key);
315 } 311 }
316 312
317 } // namespace disk_cache 313 } // namespace disk_cache
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698