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

Unified Diff: net/http/http_cache.h

Issue 2776007: Http cache: Remove deprecated code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « no previous file | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
===================================================================
--- net/http/http_cache.h (revision 49439)
+++ net/http/http_cache.h (working copy)
@@ -135,12 +135,6 @@
HttpTransactionFactory* network_layer() { return network_layer_.get(); }
- // Returns the cache backend for this HttpCache instance. If the backend
- // is not initialized yet, this method will initialize it. If the return
- // value is NULL then the backend cannot be initialized.
- // This method is deprecated.
- disk_cache::Backend* GetBackend();
-
// Retrieves the cache backend for this HttpCache instance. If the backend
// is not initialized yet, this method will initialize it. The return value is
// a network error code, and it could be ERR_IO_PENDING, in which case the
@@ -157,21 +151,6 @@
virtual HttpNetworkSession* GetSession();
virtual void Suspend(bool suspend);
- // Helper function for reading response info from the disk cache. If the
- // cache doesn't have the whole resource *|request_truncated| is set to true.
- // NOTE: This method is deprecated.
- static bool ReadResponseInfo(disk_cache::Entry* disk_entry,
- HttpResponseInfo* response_info,
- bool* response_truncated);
-
- // Helper function for writing response info into the disk cache. If the
- // cache doesn't have the whole resource |request_truncated| should be true.
- // NOTE: This method is deprecated.
- static bool WriteResponseInfo(disk_cache::Entry* disk_entry,
- const HttpResponseInfo* response_info,
- bool skip_transient_headers,
- bool response_truncated);
-
// Given a header data blob, convert it to a response info object.
static bool ParseResponseInfo(const char* data, int len,
HttpResponseInfo* response_info,
« no previous file with comments | « no previous file | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698