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

Unified Diff: content/common/background_sync_service.mojom

Issue 1960843002: [OnionSoup] Move background_sync.mojom from //content to //third_party/WebKit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address dcheng@'s comment Created 4 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 | « content/common/DEPS ('k') | content/common/service_worker/service_worker_type_converters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/background_sync_service.mojom
diff --git a/content/common/background_sync_service.mojom b/content/common/background_sync_service.mojom
deleted file mode 100644
index cceb58c31b30bf3bf08d8505d30e10a376b27a1e..0000000000000000000000000000000000000000
--- a/content/common/background_sync_service.mojom
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module content.mojom;
-
-import "content/public/common/background_sync.mojom";
-import "content/public/common/service_worker_event_status.mojom";
-
-enum BackgroundSyncError {
- NONE,
- STORAGE,
- NOT_FOUND,
- NO_SERVICE_WORKER,
- NOT_ALLOWED,
- PERMISSION_DENIED,
- MAX=PERMISSION_DENIED
-};
-
-enum BackgroundSyncState {
- PENDING,
- FIRING,
- REREGISTERED_WHILE_FIRING,
-};
-
-enum BackgroundSyncEventLastChance {
- IS_NOT_LAST_CHANCE,
- IS_LAST_CHANCE
-};
-
-interface BackgroundSyncService {
- Register(SyncRegistration options, int64 service_worker_registration_id)
- => (BackgroundSyncError err, SyncRegistration options);
- GetRegistrations(int64 service_worker_registration_id)
- => (BackgroundSyncError err, array<SyncRegistration> registrations);
-};
-
-interface BackgroundSyncServiceClient {
- Sync(string tag, BackgroundSyncEventLastChance last_chance)
- => (ServiceWorkerEventStatus status);
-};
-
« no previous file with comments | « content/common/DEPS ('k') | content/common/service_worker/service_worker_type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698