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

Unified Diff: ui/base/resource/resource_bundle_android.cc

Issue 2298513002: 🔖 Remove unmapped histogram ResourceBundle.LoadLocaleResourcesError (Closed)
Patch Set: remove other histogram Created 4 years, 4 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 | « ui/base/resource/resource_bundle.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle_android.cc
diff --git a/ui/base/resource/resource_bundle_android.cc b/ui/base/resource/resource_bundle_android.cc
index 58d70156b3eda37c530c2d76b7706e0cc20bc139..21ef9ff5ab254c46fb3c031aba32af831c3ab443 100644
--- a/ui/base/resource/resource_bundle_android.cc
+++ b/ui/base/resource/resource_bundle_android.cc
@@ -8,7 +8,6 @@
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/logging.h"
-#include "base/metrics/histogram.h"
#include "base/path_service.h"
#include "jni/ResourceBundle_jni.h"
#include "ui/base/l10n/l10n_util.h"
@@ -109,8 +108,6 @@ std::string ResourceBundle::LoadLocaleResources(
std::unique_ptr<DataPack> data_pack(new DataPack(SCALE_FACTOR_100P));
if (!data_pack->LoadFromFileRegion(base::File(g_locale_pack_fd),
g_locale_pack_region)) {
- UMA_HISTOGRAM_ENUMERATION("ResourceBundle.LoadLocaleResourcesError",
- logging::GetLastSystemErrorCode(), 16000);
LOG(ERROR) << "failed to load locale.pak";
NOTREACHED();
return std::string();
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698