| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "modules/serviceworkers/InstallPhaseEvent.h" | 43 #include "modules/serviceworkers/InstallPhaseEvent.h" |
| 44 #include "modules/serviceworkers/WaitUntilObserver.h" | 44 #include "modules/serviceworkers/WaitUntilObserver.h" |
| 45 #include "platform/NotImplemented.h" | 45 #include "platform/NotImplemented.h" |
| 46 #include "public/platform/WebServiceWorkerRequest.h" | 46 #include "public/platform/WebServiceWorkerRequest.h" |
| 47 #include "public/web/WebSerializedScriptValue.h" | 47 #include "public/web/WebSerializedScriptValue.h" |
| 48 #include "public/web/WebServiceWorkerContextClient.h" | 48 #include "public/web/WebServiceWorkerContextClient.h" |
| 49 #include "web/WebEmbeddedWorkerImpl.h" | 49 #include "web/WebEmbeddedWorkerImpl.h" |
| 50 #include "wtf/Functional.h" | 50 #include "wtf/Functional.h" |
| 51 #include "wtf/PassOwnPtr.h" | 51 #include "wtf/PassOwnPtr.h" |
| 52 | 52 |
| 53 using namespace WebCore; | 53 using namespace blink; |
| 54 | 54 |
| 55 namespace blink { | 55 namespace blink { |
| 56 | 56 |
| 57 PassOwnPtr<ServiceWorkerGlobalScopeProxy> ServiceWorkerGlobalScopeProxy::create(
WebEmbeddedWorkerImpl& embeddedWorker, ExecutionContext& executionContext, WebSe
rviceWorkerContextClient& client) | 57 PassOwnPtr<ServiceWorkerGlobalScopeProxy> ServiceWorkerGlobalScopeProxy::create(
WebEmbeddedWorkerImpl& embeddedWorker, ExecutionContext& executionContext, WebSe
rviceWorkerContextClient& client) |
| 58 { | 58 { |
| 59 return adoptPtr(new ServiceWorkerGlobalScopeProxy(embeddedWorker, executionC
ontext, client)); | 59 return adoptPtr(new ServiceWorkerGlobalScopeProxy(embeddedWorker, executionC
ontext, client)); |
| 60 } | 60 } |
| 61 | 61 |
| 62 ServiceWorkerGlobalScopeProxy::~ServiceWorkerGlobalScopeProxy() | 62 ServiceWorkerGlobalScopeProxy::~ServiceWorkerGlobalScopeProxy() |
| 63 { | 63 { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 159 |
| 160 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm
pl& embeddedWorker, ExecutionContext& executionContext, WebServiceWorkerContextC
lient& client) | 160 ServiceWorkerGlobalScopeProxy::ServiceWorkerGlobalScopeProxy(WebEmbeddedWorkerIm
pl& embeddedWorker, ExecutionContext& executionContext, WebServiceWorkerContextC
lient& client) |
| 161 : m_embeddedWorker(embeddedWorker) | 161 : m_embeddedWorker(embeddedWorker) |
| 162 , m_executionContext(executionContext) | 162 , m_executionContext(executionContext) |
| 163 , m_client(client) | 163 , m_client(client) |
| 164 , m_workerGlobalScope(0) | 164 , m_workerGlobalScope(0) |
| 165 { | 165 { |
| 166 } | 166 } |
| 167 | 167 |
| 168 } // namespace blink | 168 } // namespace blink |
| OLD | NEW |