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

Unified Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp

Issue 2777183002: Hook up the other Background Fetch Mojo methods with the system (Closed)
Patch Set: Hook up the other Background Fetch Mojo methods with the system Created 3 years, 9 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
Index: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
diff --git a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
index 6c29007f6e1412da5e0b4ab25a0cc018dc84dbef..2cd3453cf5572a561670191d5db8e8d4a0f681b9 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
@@ -176,11 +176,11 @@ void BackgroundFetchManager::didGetRegistration(
BackgroundFetchRegistration* registration) {
switch (error) {
case mojom::blink::BackgroundFetchError::NONE:
+ case mojom::blink::BackgroundFetchError::INVALID_TAG:
resolver->resolve(registration);
return;
case mojom::blink::BackgroundFetchError::DUPLICATED_TAG:
case mojom::blink::BackgroundFetchError::INVALID_ARGUMENT:
- case mojom::blink::BackgroundFetchError::INVALID_TAG:
// Not applicable for this callback.
break;
}

Powered by Google App Engine
This is Rietveld 408576698