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

Unified Diff: sync/syncable/on_disk_directory_backing_store.cc

Issue 10828261: Fix Sync.DirectoryOpenResult histogram (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/on_disk_directory_backing_store.cc
diff --git a/sync/syncable/on_disk_directory_backing_store.cc b/sync/syncable/on_disk_directory_backing_store.cc
index f844f38c4293d2552143b94d1aeba619a582f96f..f0175c17e0e40d1515957089fbd84732ef5c99ef 100644
--- a/sync/syncable/on_disk_directory_backing_store.cc
+++ b/sync/syncable/on_disk_directory_backing_store.cc
@@ -63,7 +63,7 @@ DirOpenResult OnDiskDirectoryBackingStore::Load(
Directory::KernelLoadInfo* kernel_load_info) {
DirOpenResult result = TryLoad(entry_bucket, kernel_load_info);
if (result == OPENED) {
- HISTOGRAM_ENUMERATION(
+ UMA_HISTOGRAM_ENUMERATION(
"Sync.DirectoryOpenResult", FIRST_TRY_SUCCESS, RESULT_COUNT);
return OPENED;
}
@@ -78,10 +78,10 @@ DirOpenResult OnDiskDirectoryBackingStore::Load(
result = TryLoad(entry_bucket, kernel_load_info);
if (result == OPENED) {
- HISTOGRAM_ENUMERATION(
+ UMA_HISTOGRAM_ENUMERATION(
"Sync.DirectoryOpenResult", SECOND_TRY_SUCCESS, RESULT_COUNT);
} else {
- HISTOGRAM_ENUMERATION(
+ UMA_HISTOGRAM_ENUMERATION(
"Sync.DirectoryOpenResult", SECOND_TRY_FAILURE, RESULT_COUNT);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698