1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef V8_LIBPLATFORM_WORKER_THREAD_H_
6 #define V8_LIBPLATFORM_WORKER_THREAD_H_
10 #include "src/base/macros.h"
11 #include "src/base/platform/platform.h"
19 class WorkerThread : public base::Thread {
21 explicit WorkerThread(TaskQueue* queue);
22 virtual ~WorkerThread();
24 // Thread implementation.
28 friend class QuitTask;
32 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
35 } } // namespace v8::platform
38 #endif // V8_LIBPLATFORM_WORKER_THREAD_H_