Index: net/disk_cache/eviction.cc |
=================================================================== |
--- net/disk_cache/eviction.cc (revision 199883) |
+++ net/disk_cache/eviction.cc (working copy) |
@@ -35,6 +35,7 @@ |
#include "base/string_util.h" |
#include "base/time.h" |
#include "net/disk_cache/backend_impl.h" |
+#include "net/disk_cache/disk_format.h" |
#include "net/disk_cache/entry_impl.h" |
#include "net/disk_cache/experiments.h" |
#include "net/disk_cache/histogram_macros.h" |
@@ -297,13 +298,9 @@ |
entry->entry()->Store(); |
rankings_->Insert(entry->rankings(), true, Rankings::DELETED); |
} |
- if (!empty) { |
+ if (!empty) |
backend_->OnEvent(Stats::TRIM_ENTRY); |
- static const char gajs[] = "http://www.google-analytics.com/ga.js"; |
- if (!entry->GetKey().compare(gajs)) |
- backend_->OnEvent(Stats::GAJS_EVICTED); |
- } |
entry->Release(); |
return true; |