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

Unified Diff: net/disk_cache/backend_impl.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/base/net_log_source_type_list.h ('k') | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_impl.h
===================================================================
--- net/disk_cache/backend_impl.h (revision 70618)
+++ net/disk_cache/backend_impl.h (working copy)
@@ -19,10 +19,6 @@
#include "net/disk_cache/stats.h"
#include "net/disk_cache/trace.h"
-namespace net {
-class NetLog;
-} // namespace net
-
namespace disk_cache {
enum BackendFlags {
@@ -42,11 +38,10 @@
class BackendImpl : public Backend {
friend class Eviction;
public:
- BackendImpl(const FilePath& path, base::MessageLoopProxy* cache_thread,
- net::NetLog* net_log);
+ BackendImpl(const FilePath& path, base::MessageLoopProxy* cache_thread);
// mask can be used to limit the usable size of the hash table, for testing.
BackendImpl(const FilePath& path, uint32 mask,
- base::MessageLoopProxy* cache_thread, net::NetLog* net_log);
+ base::MessageLoopProxy* cache_thread);
~BackendImpl();
// Returns a new backend with the desired flags. See the declaration of
@@ -54,8 +49,7 @@
static int CreateBackend(const FilePath& full_path, bool force,
int max_bytes, net::CacheType type,
uint32 flags, base::MessageLoopProxy* thread,
- net::NetLog* net_log, Backend** backend,
- CompletionCallback* callback);
+ Backend** backend, CompletionCallback* callback);
// Performs general initialization for this current instance of the cache.
int Init(CompletionCallback* callback);
@@ -363,8 +357,6 @@
bool first_timer_; // True if the timer has not been called.
bool throttle_requests_;
- net::NetLog* net_log_;
-
Stats stats_; // Usage statistcs.
base::RepeatingTimer<BackendImpl> timer_; // Usage timer.
base::WaitableEvent done_; // Signals the end of background work.
« no previous file with comments | « net/base/net_log_source_type_list.h ('k') | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698