| Index: components/password_manager/core/browser/password_syncable_service.cc
|
| diff --git a/components/password_manager/core/browser/password_syncable_service.cc b/components/password_manager/core/browser/password_syncable_service.cc
|
| index 75d20b2aeb5c91aacc9f1317575af85918021162..94379683e01774e213c06a8a7e6e1278bc53e7cd 100644
|
| --- a/components/password_manager/core/browser/password_syncable_service.cc
|
| +++ b/components/password_manager/core/browser/password_syncable_service.cc
|
| @@ -301,9 +301,10 @@ bool PasswordSyncableService::ReadFromPasswordStore(
|
| !password_store_->FillBlacklistLogins(&blacklist_entries)) {
|
| // Password store often fails to load passwords. Track failures with UMA.
|
| // (http://crbug.com/249000)
|
| + // TODO(wychen): enum uma should be strongly typed. crbug.com/661401
|
| UMA_HISTOGRAM_ENUMERATION("Sync.LocalDataFailedToLoad",
|
| ModelTypeToHistogramInt(syncer::PASSWORDS),
|
| - syncer::MODEL_TYPE_COUNT);
|
| + static_cast<int>(syncer::MODEL_TYPE_COUNT));
|
| return false;
|
| }
|
| password_entries->resize(autofillable_entries.size() +
|
|
|