| 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 4a8832d81e5dea42c0999bcbaea75e549e580131..eb1c5cafee5f647c4eacde039bd368f3a0993af4 100644
|
| --- a/components/password_manager/core/browser/password_syncable_service.cc
|
| +++ b/components/password_manager/core/browser/password_syncable_service.cc
|
| @@ -324,9 +324,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() +
|
|
|