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

Unified Diff: chrome/browser/sync/glue/bookmark_model_associator.cc

Issue 12820010: sync: Define histogram ints for model types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 7 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 | chrome/browser/sync/glue/data_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/bookmark_model_associator.cc
diff --git a/chrome/browser/sync/glue/bookmark_model_associator.cc b/chrome/browser/sync/glue/bookmark_model_associator.cc
index cec355a4efb86da505a79950210fdfca198c2d77..9b9e7fece9a2775dd003fd1e453342c2905c5c7d 100644
--- a/chrome/browser/sync/glue/bookmark_model_associator.cc
+++ b/chrome/browser/sync/glue/bookmark_model_associator.cc
@@ -706,7 +706,8 @@ void BookmarkModelAssociator::CheckModelSyncState() const {
if (base::StringToInt64(version_str, &native_version) &&
native_version != trans.GetModelVersion(syncer::BOOKMARKS)) {
UMA_HISTOGRAM_ENUMERATION("Sync.LocalModelOutOfSync",
- syncer::BOOKMARKS, syncer::MODEL_TYPE_COUNT);
+ ModelTypeToHistogramInt(syncer::BOOKMARKS),
+ syncer::MODEL_TYPE_COUNT);
// Clear version on bookmark model so that we only report error once.
bookmark_model_->DeleteNodeMetaInfo(bookmark_model_->root_node(),
kBookmarkTransactionVersionKey);
« no previous file with comments | « no previous file | chrome/browser/sync/glue/data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698