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

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

Issue 2762663002: BackgroundFetchRegistration.abort() should return a Promise. (Closed)
Patch Set: 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 14dd263545c467000a55c8d8c40096d62a920084..3da171194c03a8ec9233e372f90aa0e8722fe036 100644
--- a/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
+++ b/third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
@@ -78,6 +78,7 @@ void BackgroundFetchManager::didGetRegistration(
resolver->resolve(registration);
return;
case mojom::blink::BackgroundFetchError::DUPLICATED_TAG:
+ case mojom::blink::BackgroundFetchError::INVALID_TAG:
// Not applicable for this callback.
break;
}
@@ -112,6 +113,7 @@ void BackgroundFetchManager::didGetTags(
resolver->resolve(tags);
return;
case mojom::blink::BackgroundFetchError::DUPLICATED_TAG:
+ case mojom::blink::BackgroundFetchError::INVALID_TAG:
// Not applicable for this callback.
break;
}

Powered by Google App Engine
This is Rietveld 408576698