| // Copyright 2017 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 blink.mojom; |
| |
| // Identifies the type of a service worker provider. |
| // |
| // A service worker provider attaches to a service worker client or a service |
| // worker itself and "provides" it with functionality related to service |
| // workers. See the main documentation in content::ServiceWorkerProviderContext. |
| enum ServiceWorkerProviderType { |
| kUnknown, |
| |
| // For service worker clients. |
| kForWindow, |
| kForSharedWorker, |
| |
| // For service workers. |
| kForServiceWorker, |
| }; |