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 |