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

Side by Side Diff: cc/resources/pixel_buffer_tile_task_worker_pool.h

Issue 882673002: Move tracing namespace from base::debug to base::trace_event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part1
Patch Set: Edited formatting Created 5 years, 10 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
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_RESOURCES_PIXEL_BUFFER_TILE_TASK_WORKER_POOL_H_ 5 #ifndef CC_RESOURCES_PIXEL_BUFFER_TILE_TASK_WORKER_POOL_H_
6 #define CC_RESOURCES_PIXEL_BUFFER_TILE_TASK_WORKER_POOL_H_ 6 #define CC_RESOURCES_PIXEL_BUFFER_TILE_TASK_WORKER_POOL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "cc/base/delayed_unique_notifier.h" 13 #include "cc/base/delayed_unique_notifier.h"
14 #include "cc/output/context_provider.h" 14 #include "cc/output/context_provider.h"
15 #include "cc/resources/tile_task_runner.h" 15 #include "cc/resources/tile_task_runner.h"
16 #include "cc/resources/tile_task_worker_pool.h" 16 #include "cc/resources/tile_task_worker_pool.h"
17 17
18 namespace base { 18 namespace base {
19 namespace debug { 19 namespace trace_event {
20 class ConvertableToTraceFormat; 20 class ConvertableToTraceFormat;
21 class TracedValue; 21 class TracedValue;
22 } 22 }
23
24 // This is added temporarily. Once the renaming of namespace usages
25 // accross all folders are done, this will be removed.
26 // TODO(ssid): crrev.com/837303004
27 namespace debug {
28 using ::base::trace_event::ConvertableToTraceFormat;
29 using ::base::trace_event::TracedValue;
23 } 30 }
31 } // namespace base
24 32
25 namespace cc { 33 namespace cc {
26 class ResourceProvider; 34 class ResourceProvider;
27 35
28 class CC_EXPORT PixelBufferTileTaskWorkerPool : public TileTaskWorkerPool, 36 class CC_EXPORT PixelBufferTileTaskWorkerPool : public TileTaskWorkerPool,
29 public TileTaskRunner, 37 public TileTaskRunner,
30 public TileTaskClient { 38 public TileTaskClient {
31 public: 39 public:
32 ~PixelBufferTileTaskWorkerPool() override; 40 ~PixelBufferTileTaskWorkerPool() override;
33 41
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 140
133 base::WeakPtrFactory<PixelBufferTileTaskWorkerPool> 141 base::WeakPtrFactory<PixelBufferTileTaskWorkerPool>
134 task_set_finished_weak_ptr_factory_; 142 task_set_finished_weak_ptr_factory_;
135 143
136 DISALLOW_COPY_AND_ASSIGN(PixelBufferTileTaskWorkerPool); 144 DISALLOW_COPY_AND_ASSIGN(PixelBufferTileTaskWorkerPool);
137 }; 145 };
138 146
139 } // namespace cc 147 } // namespace cc
140 148
141 #endif // CC_RESOURCES_PIXEL_BUFFER_TILE_TASK_WORKER_POOL_H_ 149 #endif // CC_RESOURCES_PIXEL_BUFFER_TILE_TASK_WORKER_POOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698