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

Unified Diff: third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom

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
« no previous file with comments | « third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom
diff --git a/third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom b/third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom
index 9092281d0e4a846e2171735d1dc7850af980e3be..381a3c889f31a4bb87c4d0d2f816604d6a653bc6 100644
--- a/third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom
+++ b/third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom
@@ -6,7 +6,8 @@ module blink.mojom;
enum BackgroundFetchError {
NONE,
- DUPLICATED_TAG
+ DUPLICATED_TAG,
+ INVALID_TAG
};
struct IconDefinition {
@@ -32,7 +33,8 @@ interface BackgroundFetchService {
// Aborts the Background Fetch registration identified by the
// |service_worker_registration_id| and the |tag|.
- Abort(int64 service_worker_registration_id, string tag);
+ Abort(int64 service_worker_registration_id, string tag)
+ => (BackgroundFetchError error);
// Gets the Background Fetch registration identified by the
// |service_worker_registration_id| and the |tag|.
« no previous file with comments | « third_party/WebKit/Source/modules/background_fetch/BackgroundFetchedEvent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698