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

Side by Side Diff: content/common/background_sync_service.mojom

Issue 1373883003: Move geolocation and permission mojoms into components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/geolocation_service.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module content; 5 module content;
6 6
7 import "content/public/common/background_sync.mojom"; 7 import "content/public/common/background_sync.mojom";
8 import "content/public/common/permission_status.mojom"; 8 import "components/permission/public/interfaces/permission_status.mojom";
9 import "content/public/common/service_worker_event_status.mojom"; 9 import "content/public/common/service_worker_event_status.mojom";
10 10
11 enum BackgroundSyncError { 11 enum BackgroundSyncError {
12 NONE, 12 NONE,
13 STORAGE, 13 STORAGE,
14 NOT_FOUND, 14 NOT_FOUND,
15 NO_SERVICE_WORKER, 15 NO_SERVICE_WORKER,
16 NOT_ALLOWED, 16 NOT_ALLOWED,
17 MAX=NOT_ALLOWED 17 MAX=NOT_ALLOWED
18 }; 18 };
(...skipping 14 matching lines...) Expand all
33 GetRegistration(BackgroundSyncPeriodicity periodicity, string tag, 33 GetRegistration(BackgroundSyncPeriodicity periodicity, string tag,
34 int64 service_worker_registration_id) 34 int64 service_worker_registration_id)
35 => (BackgroundSyncError err, SyncRegistration? registration); 35 => (BackgroundSyncError err, SyncRegistration? registration);
36 GetRegistrations(BackgroundSyncPeriodicity periodicity, 36 GetRegistrations(BackgroundSyncPeriodicity periodicity,
37 int64 service_worker_registration_id) 37 int64 service_worker_registration_id)
38 => (BackgroundSyncError err, array<SyncRegistration> registrations); 38 => (BackgroundSyncError err, array<SyncRegistration> registrations);
39 Unregister(int64 handle_id, int64 service_worker_registration_id) 39 Unregister(int64 handle_id, int64 service_worker_registration_id)
40 => (BackgroundSyncError err); 40 => (BackgroundSyncError err);
41 GetPermissionStatus(BackgroundSyncPeriodicity periodicity, 41 GetPermissionStatus(BackgroundSyncPeriodicity periodicity,
42 int64 service_worker_registration_id) 42 int64 service_worker_registration_id)
43 => (BackgroundSyncError err, PermissionStatus status); 43 => (BackgroundSyncError err, permission.Status status);
44 DuplicateRegistrationHandle(int64 handle_id) 44 DuplicateRegistrationHandle(int64 handle_id)
45 => (BackgroundSyncError err, SyncRegistration? registration); 45 => (BackgroundSyncError err, SyncRegistration? registration);
46 ReleaseRegistration(int64 handle_id); 46 ReleaseRegistration(int64 handle_id);
47 NotifyWhenDone(int64 handle_id) => (BackgroundSyncError err, BackgroundSyncSta te final_status); 47 NotifyWhenDone(int64 handle_id) => (BackgroundSyncError err, BackgroundSyncSta te final_status);
48 }; 48 };
49 49
50 interface BackgroundSyncServiceClient { 50 interface BackgroundSyncServiceClient {
51 Sync(int64 handle_id) 51 Sync(int64 handle_id)
52 => (ServiceWorkerEventStatus status); 52 => (ServiceWorkerEventStatus status);
53 }; 53 };
54 54
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/geolocation_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698