OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 #include "modules/serviceworkers/ServiceWorkerContainer.h" | 30 #include "modules/serviceworkers/ServiceWorkerContainer.h" |
31 | 31 |
32 #include <memory> | 32 #include <memory> |
33 #include <utility> | 33 #include <utility> |
34 #include "bindings/core/v8/CallbackPromiseAdapter.h" | 34 #include "bindings/core/v8/CallbackPromiseAdapter.h" |
35 #include "bindings/core/v8/ScriptPromise.h" | 35 #include "bindings/core/v8/ScriptPromise.h" |
36 #include "bindings/core/v8/ScriptPromiseResolver.h" | 36 #include "bindings/core/v8/ScriptPromiseResolver.h" |
37 #include "bindings/core/v8/SerializedScriptValue.h" | |
38 #include "bindings/core/v8/SerializedScriptValueFactory.h" | |
39 #include "bindings/core/v8/V8ThrowException.h" | 37 #include "bindings/core/v8/V8ThrowException.h" |
| 38 #include "bindings/core/v8/serialization/SerializedScriptValue.h" |
| 39 #include "bindings/core/v8/serialization/SerializedScriptValueFactory.h" |
40 #include "core/dom/DOMException.h" | 40 #include "core/dom/DOMException.h" |
41 #include "core/dom/Document.h" | 41 #include "core/dom/Document.h" |
42 #include "core/dom/ExceptionCode.h" | 42 #include "core/dom/ExceptionCode.h" |
43 #include "core/dom/ExecutionContext.h" | 43 #include "core/dom/ExecutionContext.h" |
44 #include "core/dom/MessagePort.h" | 44 #include "core/dom/MessagePort.h" |
45 #include "core/events/MessageEvent.h" | 45 #include "core/events/MessageEvent.h" |
46 #include "core/frame/Deprecation.h" | 46 #include "core/frame/Deprecation.h" |
47 #include "core/frame/LocalDOMWindow.h" | 47 #include "core/frame/LocalDOMWindow.h" |
48 #include "core/frame/UseCounter.h" | 48 #include "core/frame/UseCounter.h" |
49 #include "core/frame/csp/ContentSecurityPolicy.h" | 49 #include "core/frame/csp/ContentSecurityPolicy.h" |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 | 486 |
487 if (ServiceWorkerContainerClient* client = | 487 if (ServiceWorkerContainerClient* client = |
488 ServiceWorkerContainerClient::From(execution_context)) { | 488 ServiceWorkerContainerClient::From(execution_context)) { |
489 provider_ = client->Provider(); | 489 provider_ = client->Provider(); |
490 if (provider_) | 490 if (provider_) |
491 provider_->SetClient(this); | 491 provider_->SetClient(this); |
492 } | 492 } |
493 } | 493 } |
494 | 494 |
495 } // namespace blink | 495 } // namespace blink |
OLD | NEW |