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

Side by Side Diff: content/common/service_worker/service_worker_types.mojom

Issue 2779763004: Create ServiceWorkerProviderHost before starting worker (Closed)
Patch Set: Removed unnecessary CONTENT_EXPORT Created 3 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.mojom; 5 module content.mojom;
6 6
7 enum ServiceWorkerProviderType { 7 enum ServiceWorkerProviderType {
8 SERVICE_WORKER_PROVIDER_UNKNOWN, 8 SERVICE_WORKER_PROVIDER_UNKNOWN,
9 9
10 // For ServiceWorker clients. 10 // For ServiceWorker clients.
11 SERVICE_WORKER_PROVIDER_FOR_WINDOW, 11 SERVICE_WORKER_PROVIDER_FOR_WINDOW,
12 SERVICE_WORKER_PROVIDER_FOR_WORKER, 12 SERVICE_WORKER_PROVIDER_FOR_WORKER,
13 SERVICE_WORKER_PROVIDER_FOR_SHARED_WORKER, 13 SERVICE_WORKER_PROVIDER_FOR_SHARED_WORKER,
14 14
15 // For ServiceWorkers. 15 // For ServiceWorkers.
16 SERVICE_WORKER_PROVIDER_FOR_CONTROLLER, 16 SERVICE_WORKER_PROVIDER_FOR_CONTROLLER,
17 17
18 SERVICE_WORKER_PROVIDER_TYPE_LAST = 18 SERVICE_WORKER_PROVIDER_TYPE_LAST =
19 SERVICE_WORKER_PROVIDER_FOR_CONTROLLER 19 SERVICE_WORKER_PROVIDER_FOR_CONTROLLER
20 }; 20 };
21
22 [Native]
23 struct ServiceWorkerRegistrationObjectInfo;
24
25 [Native]
26 struct ServiceWorkerVersionAttributes;
dcheng 2017/06/20 21:09:47 Previous comment about documenting this struct rem
shimazu 2017/06/21 03:11:27 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698