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

Side by Side Diff: cc/resources/worker_pool.cc

Issue 17004002: cc: Move WorkerPool from cc/base to cc/resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « cc/resources/worker_pool.h ('k') | cc/resources/worker_pool_perftest.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 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 #include "cc/base/worker_pool.h" 5 #include "cc/resources/worker_pool.h"
6 6
7 #if defined(OS_ANDROID) 7 #if defined(OS_ANDROID)
8 // TODO(epenner): Move thread priorities to base. (crbug.com/170549) 8 // TODO(epenner): Move thread priorities to base. (crbug.com/170549)
9 #include <sys/resource.h> 9 #include <sys/resource.h>
10 #endif 10 #endif
11 11
12 #include <map> 12 #include <map>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/containers/hash_tables.h" 15 #include "base/containers/hash_tables.h"
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 452
453 // static 453 // static
454 void WorkerPool::BuildTaskGraph( 454 void WorkerPool::BuildTaskGraph(
455 internal::WorkerPoolTask* root, TaskGraph* tasks) { 455 internal::WorkerPoolTask* root, TaskGraph* tasks) {
456 const unsigned kBasePriority = 0u; 456 const unsigned kBasePriority = 0u;
457 if (root) 457 if (root)
458 BuildTaskGraphRecursive(root, NULL, kBasePriority, tasks); 458 BuildTaskGraphRecursive(root, NULL, kBasePriority, tasks);
459 } 459 }
460 460
461 } // namespace cc 461 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/worker_pool.h ('k') | cc/resources/worker_pool_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698