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

Side by Side Diff: src/libplatform/worker-thread.h

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/libplatform/task-queue.cc ('k') | src/libplatform/worker-thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_LIBPLATFORM_WORKER_THREAD_H_ 5 #ifndef V8_LIBPLATFORM_WORKER_THREAD_H_
6 #define V8_LIBPLATFORM_WORKER_THREAD_H_ 6 #define V8_LIBPLATFORM_WORKER_THREAD_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "../base/macros.h" 10 #include "src/base/macros.h"
11 #include "../platform.h" 11 #include "src/platform.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 14
15 namespace internal { 15 namespace internal {
16 16
17 class TaskQueue; 17 class TaskQueue;
18 18
19 class WorkerThread : public Thread { 19 class WorkerThread : public Thread {
20 public: 20 public:
21 explicit WorkerThread(TaskQueue* queue); 21 explicit WorkerThread(TaskQueue* queue);
22 virtual ~WorkerThread(); 22 virtual ~WorkerThread();
23 23
24 // Thread implementation. 24 // Thread implementation.
25 virtual void Run() V8_OVERRIDE; 25 virtual void Run() V8_OVERRIDE;
26 26
27 private: 27 private:
28 friend class QuitTask; 28 friend class QuitTask;
29 29
30 TaskQueue* queue_; 30 TaskQueue* queue_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(WorkerThread); 32 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
33 }; 33 };
34 34
35 } } // namespace v8::internal 35 } } // namespace v8::internal
36 36
37 37
38 #endif // V8_LIBPLATFORM_WORKER_THREAD_H_ 38 #endif // V8_LIBPLATFORM_WORKER_THREAD_H_
OLDNEW
« no previous file with comments | « src/libplatform/task-queue.cc ('k') | src/libplatform/worker-thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698