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

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

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Self-review Created 4 years 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 (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 17 matching lines...) Expand all
28 class HighResolutionTimerManager; 28 class HighResolutionTimerManager;
29 class MessageLoop; 29 class MessageLoop;
30 class PowerMonitor; 30 class PowerMonitor;
31 class SystemMonitor; 31 class SystemMonitor;
32 class MemoryPressureMonitor; 32 class MemoryPressureMonitor;
33 namespace trace_event { 33 namespace trace_event {
34 class TraceEventSystemStatsMonitor; 34 class TraceEventSystemStatsMonitor;
35 } // namespace trace_event 35 } // namespace trace_event
36 } // namespace base 36 } // namespace base
37 37
38 namespace device {
39 class TimeZoneMonitor;
40 }
41
42 namespace media { 38 namespace media {
43 #if defined(OS_WIN) 39 #if defined(OS_WIN)
44 class SystemMessageWindowWin; 40 class SystemMessageWindowWin;
45 #elif defined(OS_LINUX) && defined(USE_UDEV) 41 #elif defined(OS_LINUX) && defined(USE_UDEV)
46 class DeviceMonitorLinux; 42 class DeviceMonitorLinux;
47 #endif 43 #endif
48 class UserInputMonitor; 44 class UserInputMonitor;
49 #if defined(OS_MACOSX) 45 #if defined(OS_MACOSX)
50 class DeviceMonitorMac; 46 class DeviceMonitorMac;
51 #endif 47 #endif
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 130
135 int GetResultCode() const { return result_code_; } 131 int GetResultCode() const { return result_code_; }
136 132
137 media::AudioManager* audio_manager() const { return audio_manager_.get(); } 133 media::AudioManager* audio_manager() const { return audio_manager_.get(); }
138 MediaStreamManager* media_stream_manager() const { 134 MediaStreamManager* media_stream_manager() const {
139 return media_stream_manager_.get(); 135 return media_stream_manager_.get();
140 } 136 }
141 media::UserInputMonitor* user_input_monitor() const { 137 media::UserInputMonitor* user_input_monitor() const {
142 return user_input_monitor_.get(); 138 return user_input_monitor_.get();
143 } 139 }
144 device::TimeZoneMonitor* time_zone_monitor() const {
145 return time_zone_monitor_.get();
146 }
147 midi::MidiManager* midi_manager() const { return midi_manager_.get(); } 140 midi::MidiManager* midi_manager() const { return midi_manager_.get(); }
148 base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); } 141 base::Thread* indexed_db_thread() const { return indexed_db_thread_.get(); }
149 142
150 bool is_tracing_startup_for_duration() const { 143 bool is_tracing_startup_for_duration() const {
151 return is_tracing_startup_for_duration_; 144 return is_tracing_startup_for_duration_;
152 } 145 }
153 146
154 const base::FilePath& startup_trace_file() const { 147 const base::FilePath& startup_trace_file() const {
155 return startup_trace_file_; 148 return startup_trace_file_;
156 } 149 }
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_; 293 std::unique_ptr<media::DeviceMonitorMac> device_monitor_mac_;
301 #endif 294 #endif
302 #if defined(USE_OZONE) 295 #if defined(USE_OZONE)
303 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_; 296 std::unique_ptr<ui::ClientNativePixmapFactory> client_native_pixmap_factory_;
304 #endif 297 #endif
305 298
306 std::unique_ptr<LoaderDelegateImpl> loader_delegate_; 299 std::unique_ptr<LoaderDelegateImpl> loader_delegate_;
307 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_; 300 std::unique_ptr<ResourceDispatcherHostImpl> resource_dispatcher_host_;
308 std::unique_ptr<MediaStreamManager> media_stream_manager_; 301 std::unique_ptr<MediaStreamManager> media_stream_manager_;
309 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_; 302 std::unique_ptr<SpeechRecognitionManagerImpl> speech_recognition_manager_;
310 std::unique_ptr<device::TimeZoneMonitor> time_zone_monitor_;
311 scoped_refptr<SaveFileManager> save_file_manager_; 303 scoped_refptr<SaveFileManager> save_file_manager_;
312 304
313 // DO NOT add members here. Add them to the right categories above. 305 // DO NOT add members here. Add them to the right categories above.
314 306
315 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 307 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
316 }; 308 };
317 309
318 } // namespace content 310 } // namespace content
319 311
320 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 312 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698