| Index: ios/chrome/browser/ui/sync/sync_util.mm | 
| diff --git a/ios/chrome/browser/ui/sync/sync_util.mm b/ios/chrome/browser/ui/sync/sync_util.mm | 
| index 8e168115d519b534b71a77698e9530eb57b064d6..ee09a534848a67abdaa78fa625637d5204e32591 100644 | 
| --- a/ios/chrome/browser/ui/sync/sync_util.mm | 
| +++ b/ios/chrome/browser/ui/sync/sync_util.mm | 
| @@ -24,7 +24,7 @@ namespace { | 
| // to the user. This was added for crbug/265352 to quantify how often this | 
| // bug shows up in the wild. The logged histogram count should be interpreted | 
| // as a ratio of the number of active sync users. | 
| -enum { | 
| +enum ErrorState { | 
| SYNC_SIGN_IN_NEEDS_UPDATE = 1, | 
| SYNC_SERVICE_UNAVAILABLE, | 
| SYNC_NEEDS_PASSPHRASE, | 
| @@ -140,7 +140,7 @@ bool displaySyncErrors(ios::ChromeBrowserState* browser_state, Tab* tab) { | 
| return false; | 
|  | 
| // Logs when an infobar is shown to user. See crbug/265352. | 
| -  int loggedErrorState = 0; | 
| +  ErrorState loggedErrorState = SYNC_ERROR_COUNT; | 
| switch (errorState) { | 
| case SyncSetupService::kNoSyncServiceError: | 
| case SyncSetupService::kSyncServiceCouldNotConnect: | 
|  |