OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WEBCORE_WORKER_TRACKER_H |
| 6 #define WEBCORE_WORKER_TRACKER_H |
| 7 #pragma once |
| 8 |
| 9 namespace WebKit { |
| 10 class WebWorkerRunLoop; |
| 11 } |
| 12 |
| 13 using WebKit::WebWorkerRunLoop; |
| 14 |
| 15 class WebCoreWorkerTracker { |
| 16 public: |
| 17 virtual void DidStartWorkerRunLoop(const WebWorkerRunLoop& runLoop) = 0; |
| 18 virtual void DidStopWorkerRunLoop(const WebWorkerRunLoop& runLoop) = 0; |
| 19 virtual WebWorkerRunLoop* current() = 0; |
| 20 }; |
| 21 |
| 22 #endif |
OLD | NEW |