Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1313)

Unified Diff: content/renderer/webcore_worker_tracker.h

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698