| 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/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // user_input_monitor_ has to outlive audio_manager_, so declared first. | 134 // user_input_monitor_ has to outlive audio_manager_, so declared first. |
| 135 scoped_ptr<media::UserInputMonitor> user_input_monitor_; | 135 scoped_ptr<media::UserInputMonitor> user_input_monitor_; |
| 136 scoped_ptr<media::AudioManager> audio_manager_; | 136 scoped_ptr<media::AudioManager> audio_manager_; |
| 137 scoped_ptr<media::MIDIManager> midi_manager_; | 137 scoped_ptr<media::MIDIManager> midi_manager_; |
| 138 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_; | 138 scoped_ptr<AudioMirroringManager> audio_mirroring_manager_; |
| 139 scoped_ptr<MediaStreamManager> media_stream_manager_; | 139 scoped_ptr<MediaStreamManager> media_stream_manager_; |
| 140 // Per-process listener for online state changes. | 140 // Per-process listener for online state changes. |
| 141 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 141 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
| 142 #if defined(OS_WIN) | 142 #if defined(OS_WIN) |
| 143 scoped_ptr<SystemMessageWindowWin> system_message_window_; | 143 scoped_ptr<SystemMessageWindowWin> system_message_window_; |
| 144 #elif defined(OS_LINUX) | 144 #elif defined(USE_UDEV) |
| 145 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; | 145 scoped_ptr<DeviceMonitorLinux> device_monitor_linux_; |
| 146 #elif defined(OS_MACOSX) && !defined(OS_IOS) | 146 #elif defined(OS_MACOSX) && !defined(OS_IOS) |
| 147 scoped_ptr<DeviceMonitorMac> device_monitor_mac_; | 147 scoped_ptr<DeviceMonitorMac> device_monitor_mac_; |
| 148 #endif | 148 #endif |
| 149 // The startup task runner is created by CreateStartupTasks() | 149 // The startup task runner is created by CreateStartupTasks() |
| 150 scoped_ptr<StartupTaskRunner> startup_task_runner_; | 150 scoped_ptr<StartupTaskRunner> startup_task_runner_; |
| 151 | 151 |
| 152 // Destroy parts_ before main_message_loop_ (required) and before other | 152 // Destroy parts_ before main_message_loop_ (required) and before other |
| 153 // classes constructed in content (but after main_thread_). | 153 // classes constructed in content (but after main_thread_). |
| 154 scoped_ptr<BrowserMainParts> parts_; | 154 scoped_ptr<BrowserMainParts> parts_; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 172 scoped_ptr<MemoryObserver> memory_observer_; | 172 scoped_ptr<MemoryObserver> memory_observer_; |
| 173 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; | 173 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; |
| 174 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; | 174 scoped_ptr<base::debug::TraceEventSystemStatsMonitor> system_stats_monitor_; |
| 175 | 175 |
| 176 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 176 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } // namespace content | 179 } // namespace content |
| 180 | 180 |
| 181 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 181 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |