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 CompositorWorkerMessagingProxy_h | 5 #ifndef CompositorWorkerMessagingProxy_h |
6 #define CompositorWorkerMessagingProxy_h | 6 #define CompositorWorkerMessagingProxy_h |
7 | 7 |
8 #include "core/workers/WorkerMessagingProxy.h" | 8 #include "core/workers/WorkerMessagingProxy.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class CompositorWorkerMessagingProxy final : public WorkerMessagingProxy { | 12 class CompositorWorkerMessagingProxy final : public WorkerMessagingProxy { |
13 public: | 13 public: |
14 CompositorWorkerMessagingProxy(InProcessWorkerBase*, PassOwnPtrWillBeRawPtr<
WorkerClients>); | 14 CompositorWorkerMessagingProxy(InProcessWorkerBase*, PassOwnPtrWillBeRawPtr<
WorkerClients>); |
15 | 15 |
16 protected: | 16 protected: |
17 virtual ~CompositorWorkerMessagingProxy(); | 17 virtual ~CompositorWorkerMessagingProxy(); |
18 | 18 |
19 virtual PassRefPtr<WorkerThread> createWorkerThread(double originTime, PassO
wnPtr<WorkerThreadStartupData>); | 19 virtual PassRefPtr<WorkerScript> createWorkerScript(double originTime, PassO
wnPtr<WorkerScriptStartupData>); |
20 }; | 20 }; |
21 | 21 |
22 } // namespace blink | 22 } // namespace blink |
23 | 23 |
24 #endif // CompositorWorkerMessagingProxy_h | 24 #endif // CompositorWorkerMessagingProxy_h |
OLD | NEW |