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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "modules/notifications/NotificationEvent.h" | 49 #include "modules/notifications/NotificationEvent.h" |
50 #include "modules/push_messaging/PushEvent.h" | 50 #include "modules/push_messaging/PushEvent.h" |
51 #include "modules/push_messaging/PushMessageData.h" | 51 #include "modules/push_messaging/PushMessageData.h" |
52 #include "modules/serviceworkers/ExtendableEvent.h" | 52 #include "modules/serviceworkers/ExtendableEvent.h" |
53 #include "modules/serviceworkers/FetchEvent.h" | 53 #include "modules/serviceworkers/FetchEvent.h" |
54 #include "modules/serviceworkers/InstallEvent.h" | 54 #include "modules/serviceworkers/InstallEvent.h" |
55 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" | 55 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" |
56 #include "modules/serviceworkers/WaitUntilObserver.h" | 56 #include "modules/serviceworkers/WaitUntilObserver.h" |
57 #include "platform/RuntimeEnabledFeatures.h" | 57 #include "platform/RuntimeEnabledFeatures.h" |
58 #include "public/platform/WebCrossOriginServiceWorkerClient.h" | 58 #include "public/platform/WebCrossOriginServiceWorkerClient.h" |
59 #include "public/platform/WebNotificationData.h" | |
60 #include "public/platform/WebServiceWorkerEventResult.h" | 59 #include "public/platform/WebServiceWorkerEventResult.h" |
61 #include "public/platform/WebServiceWorkerRequest.h" | 60 #include "public/platform/WebServiceWorkerRequest.h" |
| 61 #include "public/platform/modules/notifications/WebNotificationData.h" |
62 #include "public/web/WebSerializedScriptValue.h" | 62 #include "public/web/WebSerializedScriptValue.h" |
63 #include "public/web/WebServiceWorkerContextClient.h" | 63 #include "public/web/WebServiceWorkerContextClient.h" |
64 #include "web/WebEmbeddedWorkerImpl.h" | 64 #include "web/WebEmbeddedWorkerImpl.h" |
65 #include "wtf/Functional.h" | 65 #include "wtf/Functional.h" |
66 #include "wtf/PassOwnPtr.h" | 66 #include "wtf/PassOwnPtr.h" |
67 | 67 |
68 namespace blink { | 68 namespace blink { |
69 | 69 |
70 PassOwnPtr<ServiceWorkerGlobalScopeProxy> ServiceWorkerGlobalScopeProxy::create(
WebEmbeddedWorkerImpl& embeddedWorker, Document& document, WebServiceWorkerConte
xtClient& client) | 70 PassOwnPtr<ServiceWorkerGlobalScopeProxy> ServiceWorkerGlobalScopeProxy::create(
WebEmbeddedWorkerImpl& embeddedWorker, Document& document, WebServiceWorkerConte
xtClient& client) |
71 { | 71 { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 223 |
224 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm
pl& embeddedWorker, Document& document, WebServiceWorkerContextClient& client) | 224 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm
pl& embeddedWorker, Document& document, WebServiceWorkerContextClient& client) |
225 : m_embeddedWorker(embeddedWorker) | 225 : m_embeddedWorker(embeddedWorker) |
226 , m_document(document) | 226 , m_document(document) |
227 , m_client(client) | 227 , m_client(client) |
228 , m_workerGlobalScope(0) | 228 , m_workerGlobalScope(0) |
229 { | 229 { |
230 } | 230 } |
231 | 231 |
232 } // namespace blink | 232 } // namespace blink |
OLD | NEW |