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

Unified Diff: net/disk_cache/mem_entry_impl.h

Issue 19747: URLRequestContext and disk cache for media files (Closed)
Patch Set: signed and unsigned... Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/entry_unittest.cc ('k') | net/http/http_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/mem_entry_impl.h
diff --git a/net/disk_cache/mem_entry_impl.h b/net/disk_cache/mem_entry_impl.h
index cd8c6e74796816f0912f59a7b1c2175f0b253dd0..63235f975feeabf3c9a10e83bf0da427c3b9dd39 100644
--- a/net/disk_cache/mem_entry_impl.h
+++ b/net/disk_cache/mem_entry_impl.h
@@ -29,6 +29,14 @@ class MemEntryImpl : public Entry {
virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len,
net::CompletionCallback* completion_callback,
bool truncate);
+ virtual base::PlatformFile UseExternalFile(int index) {
+ // MemEntryImpl doesn't support caching to an external file.
+ return base::kInvalidPlatformFileValue;
+ }
+ virtual base::PlatformFile GetPlatformFile(int index) {
+ // MemEntryImpl doesn't support caching to an external file.
+ return base::kInvalidPlatformFileValue;
+ }
// Performs the initialization of a EntryImpl that will be added to the
// cache.
« no previous file with comments | « net/disk_cache/entry_unittest.cc ('k') | net/http/http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698