Commit 8afd010d authored by iclelland's avatar iclelland Committed by Commit bot

[BackgroundSync] Fix accidental fall-through in getRegistrations callack

There was a missing break in the switch for handling the error state in
BackgroundSyncProvider::GetRegistrationsCallback.

BUG=488451

Review URL: https://codereview.chromium.org/1130313003

Cr-Commit-Position: refs/heads/master@{#330088}
parent 4c75e385
...@@ -213,6 +213,7 @@ void BackgroundSyncProvider::GetRegistrationsCallback( ...@@ -213,6 +213,7 @@ void BackgroundSyncProvider::GetRegistrationsCallback(
registrations[i]).release(); registrations[i]).release();
} }
callbacks->onSuccess(results); callbacks->onSuccess(results);
break;
case BACKGROUND_SYNC_ERROR_NOT_FOUND: case BACKGROUND_SYNC_ERROR_NOT_FOUND:
// This error should never be returned from // This error should never be returned from
// BackgroundSyncManager::GetRegistrations // BackgroundSyncManager::GetRegistrations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment