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

Unified Diff: net/disk_cache/simple/simple_backend_impl.h

Issue 2922973003: RFC: use some in-memory state in SimpleCache to quickly cache-miss some CantConditionalize cases
Patch Set: - Implement support for oracle bytes in MockHttpCache, so the code actually gets exercised in tests… Created 3 years, 6 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
Index: net/disk_cache/simple/simple_backend_impl.h
diff --git a/net/disk_cache/simple/simple_backend_impl.h b/net/disk_cache/simple/simple_backend_impl.h
index aa7a3785afc91af89f04bb8b75b344ee207d6690..60c4f79a99f6cd4ff928b142215f8ac69b160158 100644
--- a/net/disk_cache/simple/simple_backend_impl.h
+++ b/net/disk_cache/simple/simple_backend_impl.h
@@ -98,6 +98,10 @@ class NET_EXPORT_PRIVATE SimpleBackendImpl : public Backend,
int OpenEntry(const std::string& key,
Entry** entry,
const CompletionCallback& callback) override;
+ int OpenEntryWithOracleByte(const std::string& key,
+ Entry** entry,
+ const OracleCallback& oracle,
+ const CompletionCallback& callback) override;
int CreateEntry(const std::string& key,
Entry** entry,
const CompletionCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698