| 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 "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/workers/WorkerMessagingProxy.h" | 9 #include "core/workers/WorkerMessagingProxy.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class CORE_EXPORT DedicatedWorkerMessagingProxy final : public WorkerMessagingPr
oxy { | 13 class CORE_EXPORT DedicatedWorkerMessagingProxy final : public WorkerMessagingPr
oxy { |
| 14 WTF_MAKE_NONCOPYABLE(DedicatedWorkerMessagingProxy); | 14 WTF_MAKE_NONCOPYABLE(DedicatedWorkerMessagingProxy); |
| 15 WTF_MAKE_FAST_ALLOCATED(WorkerMessagingProxy); | 15 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(WorkerMessagingProxy); |
| 16 public: | 16 public: |
| 17 DedicatedWorkerMessagingProxy(InProcessWorkerBase*, PassOwnPtrWillBeRawPtr<W
orkerClients>); | 17 DedicatedWorkerMessagingProxy(InProcessWorkerBase*, PassOwnPtrWillBeRawPtr<W
orkerClients>); |
| 18 ~DedicatedWorkerMessagingProxy() override; | 18 ~DedicatedWorkerMessagingProxy() override; |
| 19 | 19 |
| 20 PassRefPtr<WorkerThread> createWorkerThread(double originTime) override; | 20 PassRefPtr<WorkerThread> createWorkerThread(double originTime) override; |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace blink | 23 } // namespace blink |
| 24 | 24 |
| 25 #endif // DedicatedWorkerMessagingProxy_h | 25 #endif // DedicatedWorkerMessagingProxy_h |
| OLD | NEW |