Index: content/renderer/webcore_worker_tracker.h |
diff --git a/content/renderer/webcore_worker_tracker.h b/content/renderer/webcore_worker_tracker.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5e1cef203cdbf8b2ad645a54987e8216b3ab8b21 |
--- /dev/null |
+++ b/content/renderer/webcore_worker_tracker.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WEBCORE_WORKER_TRACKER_H |
+#define WEBCORE_WORKER_TRACKER_H |
+#pragma once |
+ |
+namespace WebKit { |
+class WebWorkerRunLoop; |
+} |
+ |
+using WebKit::WebWorkerRunLoop; |
+ |
+class WebCoreWorkerTracker { |
+ public: |
+ virtual void DidStartWorkerRunLoop(const WebWorkerRunLoop& runLoop) = 0; |
+ virtual void DidStopWorkerRunLoop(const WebWorkerRunLoop& runLoop) = 0; |
+ virtual WebWorkerRunLoop* current() = 0; |
+}; |
+ |
+#endif |