| 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
|
|
|