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

Unified Diff: sync/api/sync_error.cc

Issue 27233003: [Sync] Implementation of model association for passwords using sync API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review Created 7 years, 1 month 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
« sync/api/sync_error.h ('K') | « sync/api/sync_error.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/sync_error.cc
diff --git a/sync/api/sync_error.cc b/sync/api/sync_error.cc
index ee6885cb229285f479b8bc57284dda35d5068bb2..9dc4ef67bcd8cea64ea6ebfcc82445b601d16dad 100644
--- a/sync/api/sync_error.cc
+++ b/sync/api/sync_error.cc
@@ -8,6 +8,7 @@
#include "base/location.h"
#include "base/logging.h"
+#include "base/metrics/histogram.h"
#include "sync/internal_api/public/base/model_type.h"
namespace syncer {
@@ -137,4 +138,10 @@ void PrintTo(const SyncError& sync_error, std::ostream* os) {
*os << sync_error.ToString();
}
+void SyncError::LogDataLoadFailure(ModelType model_type) {
+ UMA_HISTOGRAM_ENUMERATION("Sync.LocalDataFailedToLoad",
+ model_type,
+ MODEL_TYPE_COUNT);
Ilya Sherman 2013/11/19 22:49:04 Please add this to histograms.xml as part of this
lipalani1 2013/11/26 23:31:35 It is already there. On 2013/11/19 22:49:04, Ilya
Ilya Sherman 2013/12/05 07:01:54 Hmm, I don't see it included in the files modified
+}
+
} // namespace syncer
« sync/api/sync_error.h ('K') | « sync/api/sync_error.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698