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

Unified Diff: trunk/src/chrome/browser/extensions/updater/extension_cache_impl.cc

Issue 139173009: Revert 247760 "Add UMA stats for ExtensionCache" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « no previous file | trunk/src/chrome/browser/extensions/updater/local_extension_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/extensions/updater/extension_cache_impl.cc
===================================================================
--- trunk/src/chrome/browser/extensions/updater/extension_cache_impl.cc (revision 247820)
+++ trunk/src/chrome/browser/extensions/updater/extension_cache_impl.cc (working copy)
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/memory/singleton.h"
-#include "base/metrics/histogram.h"
#include "base/sequenced_task_runner.h"
#include "base/stl_util.h"
#include "base/threading/sequenced_worker_pool.h"
@@ -105,15 +104,6 @@
it->Run();
}
init_callbacks_.clear();
-
- uint64 cache_size = 0;
- size_t extensions_count = 0;
- if (cache_->GetStatistics(&cache_size, &extensions_count)) {
- UMA_HISTOGRAM_COUNTS_100("Extensions.ExtensionCacheCount",
- extensions_count);
- UMA_HISTOGRAM_MEMORY_MB("Extensions.ExtensionCacheSize",
- cache_size / (1024 * 1024));
- }
}
void ExtensionCacheImpl::Observe(int type,
« no previous file with comments | « no previous file | trunk/src/chrome/browser/extensions/updater/local_extension_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698