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

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

Issue 2418493002: //media/midi: use top level namespace midi rather than media.midi (Closed)
Patch Set: TAG name change s/media_midi/midi/ Created 4 years, 2 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/app/android/library_loader_hooks.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 <memory> 8 #include <memory>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 namespace media { 42 namespace media {
43 #if defined(OS_WIN) 43 #if defined(OS_WIN)
44 class SystemMessageWindowWin; 44 class SystemMessageWindowWin;
45 #elif defined(OS_LINUX) && defined(USE_UDEV) 45 #elif defined(OS_LINUX) && defined(USE_UDEV)
46 class DeviceMonitorLinux; 46 class DeviceMonitorLinux;
47 #endif 47 #endif
48 class UserInputMonitor; 48 class UserInputMonitor;
49 #if defined(OS_MACOSX) 49 #if defined(OS_MACOSX)
50 class DeviceMonitorMac; 50 class DeviceMonitorMac;
51 #endif 51 #endif
52 } // namespace media
53
52 namespace midi { 54 namespace midi {
53 class MidiManager; 55 class MidiManager;
54 } // namespace midi 56 } // namespace midi
55 } // namespace media
56 57
57 namespace mojo { 58 namespace mojo {
58 namespace edk { 59 namespace edk {
59 class ScopedIPCSupport; 60 class ScopedIPCSupport;
60 } // namespace edk 61 } // namespace edk
61 } // namespace mojo 62 } // namespace mojo
62 63
63 namespace net { 64 namespace net {
64 class NetworkChangeNotifier; 65 class NetworkChangeNotifier;
65 } // namespace net 66 } // namespace net
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 media::AudioManager* audio_manager() const { return audio_manager_.get(); } 137 media::AudioManager* audio_manager() const { return audio_manager_.get(); }
137 MediaStreamManager* media_stream_manager() const { 138 MediaStreamManager* media_stream_manager() const {
138 return media_stream_manager_.get(); 139 return media_stream_manager_.get();
139 } 140 }
140 media::UserInputMonitor* user_input_monitor() const { 141 media::UserInputMonitor* user_input_monitor() const {
141 return user_input_monitor_.get(); 142 return user_input_monitor_.get();
142 } 143 }
143 device::TimeZoneMonitor* time_zone_monitor() const { 144 device::TimeZoneMonitor* time_zone_monitor() const {
144 return time_zone_monitor_.get(); 145 return time_zone_monitor_.get();
145 } 146 }
146 media::midi::MidiManager* midi_manager() const { return midi_manager_.get(); } 147 midi::MidiManager* midi_manager() const { return midi_manager_.get(); }
147 base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); } 148 base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); }
148 149
149 bool is_tracing_startup_for_duration() const { 150 bool is_tracing_startup_for_duration() const {
150 return is_tracing_startup_for_duration_; 151 return is_tracing_startup_for_duration_;
151 } 152 }
152 153
153 const base::FilePath& startup_trace_file() const { 154 const base::FilePath& startup_trace_file() const {
154 return startup_trace_file_; 155 return startup_trace_file_;
155 } 156 }
156 157
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 std::unique_ptr<base::Thread> indexed_db_thread_; 281 std::unique_ptr<base::Thread> indexed_db_thread_;
281 std::unique_ptr<ServiceManagerContext> service_manager_context_; 282 std::unique_ptr<ServiceManagerContext> service_manager_context_;
282 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; 283 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
283 284
284 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. 285 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first.
285 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; 286 std::unique_ptr<media::UserInputMonitor> user_input_monitor_;
286 // AudioThread needs to outlive |audio_manager_|. 287 // AudioThread needs to outlive |audio_manager_|.
287 std::unique_ptr<base::Thread> audio_thread_; 288 std::unique_ptr<base::Thread> audio_thread_;
288 media::ScopedAudioManagerPtr audio_manager_; 289 media::ScopedAudioManagerPtr audio_manager_;
289 290
290 std::unique_ptr<media::midi::MidiManager> midi_manager_; 291 std::unique_ptr<midi::MidiManager> midi_manager_;
291 292
292 #if defined(OS_WIN) 293 #if defined(OS_WIN)
293 std::unique_ptr<media::SystemMessageWindowWin> system_message_window_; 294 std::unique_ptr<media::SystemMessageWindowWin> system_message_window_;
294 #elif defined(OS_LINUX) && defined(USE_UDEV) 295 #elif defined(OS_LINUX) && defined(USE_UDEV)
295 std::unique_ptr<media::DeviceMonitorLinux> device_monitor_linux_; 296 std::unique_ptr<media::DeviceMonitorLinux> device_monitor_linux_;
296 #elif defined(OS_MACOSX) && !defined(OS_IOS) 297 #elif defined(OS_MACOSX) && !defined(OS_IOS)
297 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_; 298 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_;
298 #endif 299 #endif
299 #if defined(USE_OZONE) 300 #if defined(USE_OZONE)
300 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; 301 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_;
301 #endif 302 #endif
302 303
303 std::unique_ptr<LoaderDelegateImpl> loader_delegate_; 304 std::unique_ptr<LoaderDelegateImpl> loader_delegate_;
304 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; 305 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_;
305 std::unique_ptr<MediaStreamManager> media_stream_manager_; 306 std::unique_ptr<MediaStreamManager> media_stream_manager_;
306 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; 307 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_;
307 std::unique_ptr<device::TimeZoneMonitor> time_zone_monitor_; 308 std::unique_ptr<device::TimeZoneMonitor> time_zone_monitor_;
308 scoped_refptr<SaveFileManager> save_file_manager_; 309 scoped_refptr<SaveFileManager> save_file_manager_;
309 310
310 // DO NOT add members here. Add them to the right categories above. 311 // DO NOT add members here. Add them to the right categories above.
311 312
312 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 313 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
313 }; 314 };
314 315
315 } // namespace content 316 } // namespace content
316 317
317 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 318 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698