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

Side by Side Diff: content/browser/browser_main_loop.h

Issue 892213004: Mechanical rename of base::debug -> base::trace_event for /content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3_1
Patch Set: Rebase. 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
« no previous file with comments | « content/browser/browser_main.cc ('k') | content/browser/browser_main_loop.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_BROWSER_MAIN_LOOP_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/timer/timer.h" 12 #include "base/timer/timer.h"
13 #include "content/browser/browser_process_sub_thread.h" 13 #include "content/browser/browser_process_sub_thread.h"
14 #include "content/public/browser/browser_main_runner.h" 14 #include "content/public/browser/browser_main_runner.h"
15 15
16 namespace base { 16 namespace base {
17 class CommandLine; 17 class CommandLine;
18 class FilePath; 18 class FilePath;
19 class HighResolutionTimerManager; 19 class HighResolutionTimerManager;
20 class MessageLoop; 20 class MessageLoop;
21 class PowerMonitor; 21 class PowerMonitor;
22 class SystemMonitor; 22 class SystemMonitor;
23 #if defined(OS_CHROMEOS) 23 #if defined(OS_CHROMEOS)
24 class MemoryPressureObserverChromeOS; 24 class MemoryPressureObserverChromeOS;
25 #endif 25 #endif
26 namespace trace_event { 26 namespace trace_event {
27 class TraceMemoryController; 27 class TraceMemoryController;
28 class TraceEventSystemStatsMonitor; 28 class TraceEventSystemStatsMonitor;
29 } // namespace trace_event 29 } // namespace trace_event
30
31 // TODO(ssid): remove these aliases after the tracing clients are moved to the
32 // new trace_event namespace. See crbug.com/451032. ETA: March 2015
33 namespace debug {
34 using ::base::trace_event::TraceEventSystemStatsMonitor;
35 using ::base::trace_event::TraceMemoryController;
36 } // namespace debug
37 } // namespace base 30 } // namespace base
38 31
39 namespace media { 32 namespace media {
40 class AudioManager; 33 class AudioManager;
41 class MidiManager; 34 class MidiManager;
42 class UserInputMonitor; 35 class UserInputMonitor;
43 } // namespace media 36 } // namespace media
44 37
45 namespace net { 38 namespace net {
46 class NetworkChangeNotifier; 39 class NetworkChangeNotifier;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 205
213 // Members initialized in |RunMainMessageLoopParts()| ------------------------ 206 // Members initialized in |RunMainMessageLoopParts()| ------------------------
214 scoped_ptr<BrowserProcessSubThread> db_thread_; 207 scoped_ptr<BrowserProcessSubThread> db_thread_;
215 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; 208 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_;
216 scoped_ptr<BrowserProcessSubThread> file_thread_; 209 scoped_ptr<BrowserProcessSubThread> file_thread_;
217 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; 210 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_;
218 scoped_ptr<BrowserProcessSubThread> cache_thread_; 211 scoped_ptr<BrowserProcessSubThread> cache_thread_;
219 scoped_ptr<BrowserProcessSubThread> io_thread_; 212 scoped_ptr<BrowserProcessSubThread> io_thread_;
220 scoped_ptr<base::Thread> indexed_db_thread_; 213 scoped_ptr<base::Thread> indexed_db_thread_;
221 scoped_ptr<MemoryObserver> memory_observer_; 214 scoped_ptr<MemoryObserver> memory_observer_;
222 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; 215 scoped_ptr<base::trace_event::TraceMemoryController> trace_memory_controller_;
223 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; 216 scoped_ptr<base::trace_event::TraceEventSystemStatsMonitor>
217 system_stats_monitor_;
224 218
225 bool is_tracing_startup_; 219 bool is_tracing_startup_;
226 base::FilePath startup_trace_file_; 220 base::FilePath startup_trace_file_;
227 221
228 // This timer initiates trace file saving. 222 // This timer initiates trace file saving.
229 base::OneShotTimer<BrowserMainLoop> startup_trace_timer_; 223 base::OneShotTimer<BrowserMainLoop> startup_trace_timer_;
230 224
231 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 225 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
232 }; 226 };
233 227
234 } // namespace content 228 } // namespace content
235 229
236 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 230 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698