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

Unified Diff: content/common/service_worker/service_worker_types.mojom

Issue 2396273002: ServiceWorker: Mojofication of ServiceWorkerDispatcherHost (Closed)
Patch Set: Removed GetWeakPtr and moved a method to private Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/common/service_worker/service_worker_types.mojom
diff --git a/content/common/service_worker/service_worker_types.mojom b/content/common/service_worker/service_worker_types.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..1094171758de4bcf5cb220a61d66f980b8c1bdd6
--- /dev/null
+++ b/content/common/service_worker/service_worker_types.mojom
@@ -0,0 +1,20 @@
+// Copyright 2016 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;
+
+enum ServiceWorkerProviderType {
+ SERVICE_WORKER_PROVIDER_UNKNOWN,
+
+ // For ServiceWorker clients.
+ SERVICE_WORKER_PROVIDER_FOR_WINDOW,
+ SERVICE_WORKER_PROVIDER_FOR_WORKER,
+ SERVICE_WORKER_PROVIDER_FOR_SHARED_WORKER,
+
+ // For ServiceWorkers.
+ SERVICE_WORKER_PROVIDER_FOR_CONTROLLER,
+
+ SERVICE_WORKER_PROVIDER_TYPE_LAST =
+ SERVICE_WORKER_PROVIDER_FOR_CONTROLLER
+};
« no previous file with comments | « content/common/service_worker/service_worker.mojom ('k') | content/common/service_worker/service_worker_types.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698