summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 14:32:27 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 14:32:27 +0000
commit95d45e5dc18b54dba8753f665f0a2b4a5280b30d (patch)
tree3cd07a8e36dce94ae0bafb196c2b843d45ebe39a
parentb642dffa1fa6af49cad3ae1b724bea590aff5f65 (diff)
downloadchromium_src-95d45e5dc18b54dba8753f665f0a2b4a5280b30d.zip
chromium_src-95d45e5dc18b54dba8753f665f0a2b4a5280b30d.tar.gz
chromium_src-95d45e5dc18b54dba8753f665f0a2b4a5280b30d.tar.bz2
Make the cache entry stream index constants private.
They are only used by the friend classes HttpCache::Transaction and ViewCacheHelper. (HttpCache itself doesn't use them.) R=rvargas@chromium.org BUG=none TEST=none Review URL: https://codereview.chromium.org/179273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253443 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/http/http_cache.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 4daaf50..dd9d0cd 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -203,7 +203,9 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
SetHttpNetworkTransactionFactoryForTesting(
scoped_ptr<HttpTransactionFactory> new_network_layer);
- protected:
+ private:
+ // Types --------------------------------------------------------------------
+
// Disk cache entry data indices.
enum {
kResponseInfoIndex = 0,
@@ -213,16 +215,13 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
// Must remain at the end of the enum.
kNumCacheEntryDataIndices
};
- friend class ViewCacheHelper;
-
- private:
- // Types --------------------------------------------------------------------
class MetadataWriter;
class QuicServerInfoFactoryAdaptor;
class Transaction;
class WorkItem;
friend class Transaction;
+ friend class ViewCacheHelper;
struct PendingOp; // Info for an entry under construction.
typedef std::list<Transaction*> TransactionList;