| // Copyright 2014 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. |
| |
| // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client-type-enum |
| enum ClientType { |
| "window", |
| "worker", |
| "sharedworker", |
| "all" |
| }; |
| |
| // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworker-client-query-options-dictionary |
| dictionary ClientQueryOptions { |
| boolean includeUncontrolled = false; |
| ClientType type = "window"; |
| }; |