| Index: cc/resources/worker_pool.h
|
| diff --git a/cc/resources/worker_pool.h b/cc/resources/worker_pool.h
|
| old mode 100644
|
| new mode 100755
|
| index cc8c39f3642a0997bc990ba9484aab87612909df..230b275cbd49d819dfe01f4f49cb628be987ed62
|
| --- a/cc/resources/worker_pool.h
|
| +++ b/cc/resources/worker_pool.h
|
| @@ -125,17 +125,21 @@ class CC_EXPORT WorkerPool {
|
| void SetTaskGraph(TaskGraph* graph);
|
|
|
| private:
|
| - class Inner;
|
| - friend class Inner;
|
| -
|
| typedef std::vector<scoped_refptr<internal::WorkerPoolTask> > TaskVector;
|
|
|
| + // Pulled the task graphs out of Inner
|
| + // This set contains all pending tasks.
|
| + // GraphNodeMap pending_tasks_;
|
| +
|
| + // Completed tasks not yet collected by origin thread.
|
| + // TaskVector completed_tasks_;
|
| +
|
| + // This set contains all currently running tasks.
|
| + // GraphNodeMap running_tasks_;
|
| +
|
| void ProcessCompletedTasks(const TaskVector& completed_tasks);
|
|
|
| bool in_dispatch_completion_callbacks_;
|
| -
|
| - // Hide the gory details of the worker pool in |inner_|.
|
| - const scoped_ptr<Inner> inner_;
|
| };
|
|
|
| } // namespace cc
|
|
|