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

Unified Diff: net/http/http_cache.h

Issue 6005015: Revert 70618 - First pass at adding http/backend cache events to the NetLog. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/stress_cache.cc ('k') | 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 70618)
+++ net/http/http_cache.h (working copy)
@@ -87,8 +87,7 @@
// notification arrives.
// The implementation must not access the factory object after invoking the
// |callback| because the object can be deleted from within the callback.
- virtual int CreateBackend(NetLog* net_log,
- disk_cache::Backend** backend,
+ virtual int CreateBackend(disk_cache::Backend** backend,
CompletionCallback* callback) = 0;
};
@@ -106,8 +105,7 @@
static BackendFactory* InMemory(int max_bytes);
// BackendFactory implementation.
- virtual int CreateBackend(NetLog* net_log,
- disk_cache::Backend** backend,
+ virtual int CreateBackend(disk_cache::Backend** backend,
CompletionCallback* callback);
private:
@@ -142,7 +140,6 @@
// by the HttpCache and will be destroyed using |delete| when the HttpCache is
// destroyed.
HttpCache(HttpTransactionFactory* network_layer,
- NetLog* net_log,
BackendFactory* backend_factory);
HttpTransactionFactory* network_layer() { return network_layer_.get(); }
@@ -218,7 +215,7 @@
bool will_process_pending_queue;
bool doomed;
- explicit ActiveEntry(disk_cache::Entry* entry);
+ explicit ActiveEntry(disk_cache::Entry*);
~ActiveEntry();
};
@@ -347,8 +344,6 @@
// Variables ----------------------------------------------------------------
- NetLog* net_log_;
-
// Used when lazily constructing the disk_cache_.
scoped_ptr<BackendFactory> backend_factory_;
bool building_backend_;
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698