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

Side by Side Diff: content/renderer/scheduler/task_queue_manager.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: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SCHEDULER_TASK_QUEUE_MANAGER_H_ 5 #ifndef CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_
6 #define CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_ 6 #define CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_
7 7
8 #include "base/atomic_sequence_num.h" 8 #include "base/atomic_sequence_num.h"
9 #include "base/debug/task_annotator.h" 9 #include "base/debug/task_annotator.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/pending_task.h" 12 #include "base/pending_task.h"
13 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.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 namespace debug {
24 using ::base::trace_event::ConvertableToTraceFormat;
Primiano Tucci (use gerrit) 2015/01/27 14:34:11 nit: blankline
25 using ::base::trace_event::TracedValue;
26 }
23 } 27 }
24 28
25 namespace content { 29 namespace content {
26 namespace internal { 30 namespace internal {
27 class TaskQueue; 31 class TaskQueue;
28 } 32 }
29 class TaskQueueSelector; 33 class TaskQueueSelector;
30 34
31 // The task queue manager provides N task queues and a selector interface for 35 // The task queue manager provides N task queues and a selector interface for
32 // choosing which task queue to service next. Each task queue consists of two 36 // choosing which task queue to service next. Each task queue consists of two
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 int pending_dowork_count_; 140 int pending_dowork_count_;
137 141
138 base::WeakPtrFactory<TaskQueueManager> weak_factory_; 142 base::WeakPtrFactory<TaskQueueManager> weak_factory_;
139 143
140 DISALLOW_COPY_AND_ASSIGN(TaskQueueManager); 144 DISALLOW_COPY_AND_ASSIGN(TaskQueueManager);
141 }; 145 };
142 146
143 } // namespace content 147 } // namespace content
144 148
145 #endif // CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_ 149 #endif // CONTENT_RENDERER_SCHEDULER_TASK_QUEUE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698