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

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 8785013: Track webcore worker message loops in chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug code Created 9 years 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: webkit/glue/webkitplatformsupport_impl.cc
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
index fd3759a3416f29d0304fe4d28b828b0d94909a46..e8ddd15571770590410682f82f25cc4485c4ace6 100644
--- a/webkit/glue/webkitplatformsupport_impl.cc
+++ b/webkit/glue/webkitplatformsupport_impl.cc
@@ -41,6 +41,7 @@
#include "webkit/glue/websocketstreamhandle_impl.h"
#include "webkit/glue/webthread_impl.h"
#include "webkit/glue/weburlloader_impl.h"
+#include "webkit/glue/worker_task_runner.h"
#include "webkit/media/audio_decoder.h"
#include "webkit/plugins/npapi/plugin_instance.h"
#include "webkit/plugins/webplugininfo.h"
@@ -686,4 +687,16 @@ void WebKitPlatformSupportImpl::DestroyCurrentThread(void* thread) {
delete impl;
}
+void WebKitPlatformSupportImpl::didStartWorkerRunLoop(
+ const WebKit::WebWorkerRunLoop& runLoop) {
+ WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
+ worker_task_runner->OnWorkerRunLoopStarted(runLoop);
+}
+
+void WebKitPlatformSupportImpl::didStopWorkerRunLoop(
+ const WebKit::WebWorkerRunLoop& runLoop) {
+ WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
+ worker_task_runner->OnWorkerRunLoopStopped(runLoop);
+}
+
} // namespace webkit_glue

Powered by Google App Engine
This is Rietveld 408576698