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

Side by Side Diff: cc/base/worker_pool.h

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « cc/base/util.h ('k') | cc/base/worker_pool.cc » ('j') | cc/cc.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium 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 CC_WORKER_POOL_H_ 5 #ifndef CC_BASE_WORKER_POOL_H_
6 #define CC_WORKER_POOL_H_ 6 #define CC_BASE_WORKER_POOL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "cc/cc_export.h" 14 #include "cc/base/cc_export.h"
15 #include "cc/scoped_ptr_deque.h" 15 #include "cc/base/scoped_ptr_deque.h"
16 16
17 namespace cc { 17 namespace cc {
18 struct RenderingStats; 18 struct RenderingStats;
19 19
20 namespace internal { 20 namespace internal {
21 21
22 class WorkerPoolTask { 22 class WorkerPoolTask {
23 public: 23 public:
24 virtual ~WorkerPoolTask(); 24 virtual ~WorkerPoolTask();
25 25
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 ScopedPtrDeque<internal::WorkerPoolTask> completed_tasks_; 121 ScopedPtrDeque<internal::WorkerPoolTask> completed_tasks_;
122 122
123 // Hide the gory details of the worker pool in |inner_|. 123 // Hide the gory details of the worker pool in |inner_|.
124 const scoped_ptr<Inner> inner_; 124 const scoped_ptr<Inner> inner_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(WorkerPool); 126 DISALLOW_COPY_AND_ASSIGN(WorkerPool);
127 }; 127 };
128 128
129 } // namespace cc 129 } // namespace cc
130 130
131 #endif // CC_WORKER_POOL_H_ 131 #endif // CC_BASE_WORKER_POOL_H_
OLDNEW
« no previous file with comments | « cc/base/util.h ('k') | cc/base/worker_pool.cc » ('j') | cc/cc.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698