summaryrefslogtreecommitdiffstats
path: root/webkit/child/webkitplatformsupport_child_impl.h
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 18:21:38 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-14 18:21:38 +0000
commit4f1ed672bc77c9aa499feee8ae9150b79c179188 (patch)
tree21c78432b3e1b17cea3f387c2d5547a6a3ecde3b /webkit/child/webkitplatformsupport_child_impl.h
parent83b1926d6889d94b94a7cf54e92ee9af5aaf4577 (diff)
downloadchromium_src-4f1ed672bc77c9aa499feee8ae9150b79c179188.zip
chromium_src-4f1ed672bc77c9aa499feee8ae9150b79c179188.tar.gz
chromium_src-4f1ed672bc77c9aa499feee8ae9150b79c179188.tar.bz2
move webkit/glue/webthread_impl* to webkit/child/
(pipelined on https://codereview.chromium.org/16834004/) TBR=jamesr@chromium.org, sievers@chromium.org BUG=237249 Review URL: https://codereview.chromium.org/16864002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/child/webkitplatformsupport_child_impl.h')
-rw-r--r--webkit/child/webkitplatformsupport_child_impl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/child/webkitplatformsupport_child_impl.h b/webkit/child/webkitplatformsupport_child_impl.h
index 3e6026d..1b18ebd 100644
--- a/webkit/child/webkitplatformsupport_child_impl.h
+++ b/webkit/child/webkitplatformsupport_child_impl.h
@@ -5,6 +5,7 @@
#ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
#define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_
+#include "base/threading/thread_local_storage.h"
#include "webkit/child/webkit_child_export.h"
#include "webkit/glue/webkitplatformsupport_impl.h"
@@ -27,11 +28,18 @@ class WEBKIT_CHILD_EXPORT WebKitPlatformSupportChildImpl :
const WebKit::WebFloatPoint& velocity,
const WebKit::WebSize& cumulative_scroll) OVERRIDE;
+ virtual WebKit::WebThread* createThread(const char* name);
+ virtual WebKit::WebThread* currentThread();
+
virtual void didStartWorkerRunLoop(
const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE;
virtual void didStopWorkerRunLoop(
const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE;
+ private:
+ static void DestroyCurrentThread(void*);
+
+ base::ThreadLocalStorage::Slot current_thread_slot_;
scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_;
};