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

Unified Diff: content/browser/indexed_db/leveldb/leveldb_database.cc

Issue 862723002: leveldb: Moved to LevelDBEnv.IOError.BFE histogram entries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added back in IndexedDBLevelDBPFEMethods, fixed dates, misc. Created 5 years, 9 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 | third_party/leveldatabase/env_chromium.h » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/leveldb/leveldb_database.cc
diff --git a/content/browser/indexed_db/leveldb/leveldb_database.cc b/content/browser/indexed_db/leveldb/leveldb_database.cc
index c78ec0d3698748fa031d25be2c22bba72f1c7f24..1ad00ebb72a888179ad05ab7dcf21ba0befa3b01 100644
--- a/content/browser/indexed_db/leveldb/leveldb_database.cc
+++ b/content/browser/indexed_db/leveldb/leveldb_database.cc
@@ -204,9 +204,9 @@ static void ParseAndHistogramIOErrorDetails(const std::string& histogram_name,
std::string error_histogram_name(histogram_name);
- if (result == leveldb_env::METHOD_AND_PFE) {
+ if (result == leveldb_env::METHOD_AND_BFE) {
DCHECK_LT(error, 0);
- error_histogram_name.append(std::string(".PFE.") +
+ error_histogram_name.append(std::string(".BFE.") +
leveldb_env::MethodIDToString(method));
base::LinearHistogram::FactoryGet(
error_histogram_name,
« no previous file with comments | « no previous file | third_party/leveldatabase/env_chromium.h » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698