| 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 #ifndef DedicatedWorkerMessagingProxy_h | 5 #ifndef DedicatedWorkerMessagingProxy_h |
| 6 #define DedicatedWorkerMessagingProxy_h | 6 #define DedicatedWorkerMessagingProxy_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 9 #include "core/workers/InProcessWorkerMessagingProxy.h" | 10 #include "core/workers/InProcessWorkerMessagingProxy.h" |
| 10 #include <memory> | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CORE_EXPORT DedicatedWorkerMessagingProxy final | 14 class CORE_EXPORT DedicatedWorkerMessagingProxy final |
| 15 : public InProcessWorkerMessagingProxy { | 15 : public InProcessWorkerMessagingProxy { |
| 16 WTF_MAKE_NONCOPYABLE(DedicatedWorkerMessagingProxy); | 16 WTF_MAKE_NONCOPYABLE(DedicatedWorkerMessagingProxy); |
| 17 USING_FAST_MALLOC(DedicatedWorkerMessagingProxy); | 17 USING_FAST_MALLOC(DedicatedWorkerMessagingProxy); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 DedicatedWorkerMessagingProxy(InProcessWorkerBase*, WorkerClients*); | 20 DedicatedWorkerMessagingProxy(InProcessWorkerBase*, WorkerClients*); |
| 21 ~DedicatedWorkerMessagingProxy() override; | 21 ~DedicatedWorkerMessagingProxy() override; |
| 22 | 22 |
| 23 std::unique_ptr<WorkerThread> createWorkerThread(double originTime) override; | 23 std::unique_ptr<WorkerThread> createWorkerThread(double originTime) override; |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace blink | 26 } // namespace blink |
| 27 | 27 |
| 28 #endif // DedicatedWorkerMessagingProxy_h | 28 #endif // DedicatedWorkerMessagingProxy_h |
| OLD | NEW |