| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "core/workers/DedicatedWorkerMessagingProxy.h" | 5 #include "core/workers/DedicatedWorkerMessagingProxy.h" |
| 6 | 6 |
| 7 #include <memory> |
| 7 #include "core/workers/DedicatedWorkerThread.h" | 8 #include "core/workers/DedicatedWorkerThread.h" |
| 8 #include "core/workers/WorkerClients.h" | 9 #include "core/workers/WorkerClients.h" |
| 9 #include <memory> | |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 DedicatedWorkerMessagingProxy::DedicatedWorkerMessagingProxy( | 13 DedicatedWorkerMessagingProxy::DedicatedWorkerMessagingProxy( |
| 14 InProcessWorkerBase* workerObject, | 14 InProcessWorkerBase* workerObject, |
| 15 WorkerClients* workerClients) | 15 WorkerClients* workerClients) |
| 16 : InProcessWorkerMessagingProxy(workerObject, workerClients) {} | 16 : InProcessWorkerMessagingProxy(workerObject, workerClients) {} |
| 17 | 17 |
| 18 DedicatedWorkerMessagingProxy::~DedicatedWorkerMessagingProxy() {} | 18 DedicatedWorkerMessagingProxy::~DedicatedWorkerMessagingProxy() {} |
| 19 | 19 |
| 20 std::unique_ptr<WorkerThread> DedicatedWorkerMessagingProxy::createWorkerThread( | 20 std::unique_ptr<WorkerThread> DedicatedWorkerMessagingProxy::createWorkerThread( |
| 21 double originTime) { | 21 double originTime) { |
| 22 return DedicatedWorkerThread::create(loaderProxy(), workerObjectProxy(), | 22 return DedicatedWorkerThread::create(loaderProxy(), workerObjectProxy(), |
| 23 getParentFrameTaskRunners(), originTime); | 23 getParentFrameTaskRunners(), originTime); |
| 24 } | 24 } |
| 25 | 25 |
| 26 } // namespace blink | 26 } // namespace blink |
| OLD | NEW |