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

Unified Diff: webkit/glue/webthread_impl.h

Issue 7600016: WebKitClient::createThread and associated implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For the trybots Created 9 years, 4 months 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
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | webkit/glue/webthread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webthread_impl.h
diff --git a/webkit/glue/webthread_impl.h b/webkit/glue/webthread_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..f3a47477986e900752d110b09d65cfa16a066c86
--- /dev/null
+++ b/webkit/glue/webthread_impl.h
@@ -0,0 +1,26 @@
+// 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 WEBKIT_GLUE_WEBTHREAD_IMPL_H_
+#define WEBKIT_GLUE_WEBTHREAD_IMPL_H_
+
+#include "base/threading/thread.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebThread.h"
+
+namespace webkit_glue {
+
+class WebThreadImpl : public WebKit::WebThread {
+ public:
+ WebThreadImpl(const char* name);
+ virtual ~WebThreadImpl();
+
+ virtual void postTask(Task* task) OVERRIDE;
+ virtual void postDelayedTask(Task* task, int64 delay_ms) OVERRIDE;
+
+ protected:
+ scoped_ptr<base::Thread> thread_;
+};
+
+} // namespace webkit_glue
+
+#endif
« no previous file with comments | « webkit/glue/webkitclient_impl.cc ('k') | webkit/glue/webthread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698