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

Unified Diff: ui/base/resource/resource_bundle.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 | « no previous file | ui/base/resource/resource_bundle_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle.cc
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
index 29c3be448fcc509572b780706dce35700b58887b..049c5e26962a1c0c197877cc048b3f7e0d0e0104 100644
--- a/ui/base/resource/resource_bundle.cc
+++ b/ui/base/resource/resource_bundle.cc
@@ -17,7 +17,6 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ref_counted_memory.h"
-#include "base/metrics/histogram_macros.h"
#include "base/path_service.h"
#include "base/stl_util.h"
#include "base/strings/string_piece.h"
@@ -332,8 +331,6 @@ std::string ResourceBundle::LoadLocaleResources(
std::unique_ptr<DataPack> data_pack(new DataPack(SCALE_FACTOR_100P));
if (!data_pack->LoadFromPath(locale_file_path)) {
- UMA_HISTOGRAM_ENUMERATION("ResourceBundle.LoadLocaleResourcesError",
- logging::GetLastSystemErrorCode(), 16000);
LOG(ERROR) << "failed to load locale.pak";
NOTREACHED();
return std::string();
« no previous file with comments | « no previous file | ui/base/resource/resource_bundle_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698