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

Unified Diff: net/http/http_cache.h

Issue 1594036: Update about:cache to display cached metadata for an entry.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 44299)
+++ net/http/http_cache.h (working copy)
@@ -28,6 +28,7 @@
#include "net/http/http_transaction_factory.h"
class GURL;
+class ViewCacheHelper;
namespace disk_cache {
class Backend;
@@ -158,6 +159,18 @@
enable_range_support_ = value;
}
+ protected:
+ // Disk cache entry data indices.
+ enum {
+ kResponseInfoIndex = 0,
+ kResponseContentIndex,
+ kMetadataIndex,
+
+ // Must remain at the end of the enum.
+ kNumCacheEntryDataIndices
+ };
+ friend class ::ViewCacheHelper;
+
private:
// Types --------------------------------------------------------------------
« 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