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

Side by Side Diff: content/renderer/raster_worker_pool.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase Created 4 years, 8 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
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | ui/android/window_android_compositor.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_RENDERER_RASTER_WORKER_POOL_H_ 5 #ifndef CONTENT_RENDERER_RASTER_WORKER_POOL_H_
6 #define CONTENT_RENDERER_RASTER_WORKER_POOL_H_ 6 #define CONTENT_RENDERER_RASTER_WORKER_POOL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_vector.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "base/synchronization/condition_variable.h" 13 #include "base/synchronization/condition_variable.h"
14 #include "base/task_runner.h" 14 #include "base/task_runner.h"
15 #include "base/threading/simple_thread.h" 15 #include "base/threading/simple_thread.h"
16 #include "cc/raster/task_category.h" 16 #include "cc/raster/task_category.h"
17 #include "cc/raster/task_graph_runner.h" 17 #include "cc/raster/task_graph_runner.h"
18 #include "cc/raster/task_graph_work_queue.h" 18 #include "cc/raster/task_graph_work_queue.h"
19 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
20 20
21 namespace content { 21 namespace content {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Condition variable that is waited on by origin threads until a namespace 138 // Condition variable that is waited on by origin threads until a namespace
139 // has finished running all associated tasks. 139 // has finished running all associated tasks.
140 base::ConditionVariable has_namespaces_with_finished_running_tasks_cv_; 140 base::ConditionVariable has_namespaces_with_finished_running_tasks_cv_;
141 // Set during shutdown. Tells Run() to return when no more tasks are pending. 141 // Set during shutdown. Tells Run() to return when no more tasks are pending.
142 bool shutdown_; 142 bool shutdown_;
143 }; 143 };
144 144
145 } // namespace content 145 } // namespace content
146 146
147 #endif // CONTENT_RENDERER_RASTER_WORKER_POOL_H_ 147 #endif // CONTENT_RENDERER_RASTER_WORKER_POOL_H_
OLDNEW
« no previous file with comments | « content/public/test/layouttest_support.h ('k') | ui/android/window_android_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698