| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client-type-
enum | 5 // https://w3c.github.io/ServiceWorker/#client-type-enum |
| 6 enum ClientType { | 6 enum ClientType { |
| 7 "window", | 7 "window", |
| 8 "worker", | 8 "worker", |
| 9 "sharedworker", | 9 "sharedworker", |
| 10 "all" | 10 "all" |
| 11 }; | 11 }; |
| 12 | 12 |
| 13 // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworke
r-client-query-options-dictionary | 13 // https://w3c.github.io/ServiceWorker/#serviceworker-client-query-options-dicti
onary |
| 14 dictionary ClientQueryOptions { | 14 dictionary ClientQueryOptions { |
| 15 boolean includeUncontrolled = false; | 15 boolean includeUncontrolled = false; |
| 16 ClientType type = "window"; | 16 ClientType type = "window"; |
| 17 }; | 17 }; |
| OLD | NEW |