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

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

Issue 12374068: Make it possible to disable udev in linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unbreak mac Created 7 years, 1 month 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 | « build/common.gypi ('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/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
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
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_
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698