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

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

Issue 2958033002: Interface for associating in-memory hint bytes with disk cache entries. (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « net/disk_cache/disk_cache.h ('k') | net/http/mock_http_cache.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) 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 #include <utility> 5 #include <utility>
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/metrics/field_trial.h" 9 #include "base/metrics/field_trial.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // Block backend. 285 // Block backend.
286 BackendImpl::FlushForTesting(); 286 BackendImpl::FlushForTesting();
287 } 287 }
288 288
289 int Backend::CalculateSizeOfEntriesBetween(base::Time initial_time, 289 int Backend::CalculateSizeOfEntriesBetween(base::Time initial_time,
290 base::Time end_time, 290 base::Time end_time,
291 const CompletionCallback& callback) { 291 const CompletionCallback& callback) {
292 return net::ERR_NOT_IMPLEMENTED; 292 return net::ERR_NOT_IMPLEMENTED;
293 } 293 }
294 294
295 uint8_t Backend::GetEntryInMemoryData(const std::string& key) {
296 return 0;
297 }
298
299 void Backend::SetEntryInMemoryData(const std::string& key, uint8_t data) {}
300
295 } // namespace disk_cache 301 } // namespace disk_cache
OLDNEW
« no previous file with comments | « net/disk_cache/disk_cache.h ('k') | net/http/mock_http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698