OLD | NEW |
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 debug { |
27 class TraceMemoryController; | 27 class TraceMemoryController; |
28 class TraceEventSystemStatsMonitor; | 28 class TraceEventSystemStatsMonitor; |
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 | 29 } // 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 { |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 220 |
228 // This timer initiates trace file saving. | 221 // This timer initiates trace file saving. |
229 base::OneShotTimer<BrowserMainLoop> startup_trace_timer_; | 222 base::OneShotTimer<BrowserMainLoop> startup_trace_timer_; |
230 | 223 |
231 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 224 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
232 }; | 225 }; |
233 | 226 |
234 } // namespace content | 227 } // namespace content |
235 | 228 |
236 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 229 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |