Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2047)

Unified Diff: content/child/background_sync/background_sync_provider.cc

Issue 1130313003: [BackgroundSync] Fix accidental fall-through in getRegistrations callack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/background_sync/background_sync_provider.cc
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc
index 3a445d8da20ccf41de2b35fed93ca30b4e4c8cf3..cdf0353be2331bd7a073664d86f9096140264698 100644
--- a/content/child/background_sync/background_sync_provider.cc
+++ b/content/child/background_sync/background_sync_provider.cc
@@ -213,6 +213,7 @@ void BackgroundSyncProvider::GetRegistrationsCallback(
registrations[i]).release();
}
callbacks->onSuccess(results);
+ break;
case BACKGROUND_SYNC_ERROR_NOT_FOUND:
// This error should never be returned from
// BackgroundSyncManager::GetRegistrations
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698