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

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

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
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/worker_pool.h" 5 #include "cc/base/worker_pool.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/synchronization/condition_variable.h" 10 #include "base/synchronization/condition_variable.h"
11 #include "base/threading/simple_thread.h" 11 #include "base/threading/simple_thread.h"
12 #include "cc/rendering_stats.h" 12 #include "cc/rendering_stats.h"
13 13
14 #if defined(OS_ANDROID) 14 #if defined(OS_ANDROID)
15 // TODO(epenner): Move thread priorities to base. (crbug.com/170549) 15 // TODO(epenner): Move thread priorities to base. (crbug.com/170549)
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 TRACE_EVENT_INSTANT0("cc", "WorkerPool::RunCheapTasks check time"); 600 TRACE_EVENT_INSTANT0("cc", "WorkerPool::RunCheapTasks check time");
601 CancelCheckForCompletedTasks(); 601 CancelCheckForCompletedTasks();
602 DispatchCompletionCallbacks(); 602 DispatchCompletionCallbacks();
603 // Schedule another check for completed tasks if not idle. 603 // Schedule another check for completed tasks if not idle.
604 if (!is_idle) 604 if (!is_idle)
605 ScheduleCheckForCompletedTasks(); 605 ScheduleCheckForCompletedTasks();
606 } 606 }
607 } 607 }
608 608
609 } // namespace cc 609 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/worker_pool.h ('k') | cc/bitmap_content_layer_updater.h » ('j') | cc/cc.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698