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

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

Issue 2112543002: Convert UtilityProcessHost to bootstrap Mojo Channel using the Shell connection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@p9x
Patch Set: . Created 4 years, 5 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
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class ClientNativePixmapFactory; 65 class ClientNativePixmapFactory;
66 } // namespace ui 66 } // namespace ui
67 #endif 67 #endif
68 68
69 namespace content { 69 namespace content {
70 class BrowserMainParts; 70 class BrowserMainParts;
71 class BrowserOnlineStateObserver; 71 class BrowserOnlineStateObserver;
72 class BrowserThreadImpl; 72 class BrowserThreadImpl;
73 class LoaderDelegateImpl; 73 class LoaderDelegateImpl;
74 class MediaStreamManager; 74 class MediaStreamManager;
75 class MojoShellContext;
76 class ResourceDispatcherHostImpl; 75 class ResourceDispatcherHostImpl;
76 class ShellContext;
77 class SpeechRecognitionManagerImpl; 77 class SpeechRecognitionManagerImpl;
78 class StartupTaskRunner; 78 class StartupTaskRunner;
79 class TimeZoneMonitor; 79 class TimeZoneMonitor;
80 struct MainFunctionParams; 80 struct MainFunctionParams;
81 81
82 #if defined(OS_ANDROID) 82 #if defined(OS_ANDROID)
83 class ScreenOrientationDelegate; 83 class ScreenOrientationDelegate;
84 #elif defined(OS_WIN) 84 #elif defined(OS_WIN)
85 class ScreenOrientationDelegate; 85 class ScreenOrientationDelegate;
86 #endif 86 #endif
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // Members initialized in |CreateThreads()| ---------------------------------- 253 // Members initialized in |CreateThreads()| ----------------------------------
254 std::unique_ptr<BrowserProcessSubThread> db_thread_; 254 std::unique_ptr<BrowserProcessSubThread> db_thread_;
255 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_; 255 std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_;
256 std::unique_ptr<BrowserProcessSubThread> file_thread_; 256 std::unique_ptr<BrowserProcessSubThread> file_thread_;
257 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_; 257 std::unique_ptr<BrowserProcessSubThread> process_launcher_thread_;
258 std::unique_ptr<BrowserProcessSubThread> cache_thread_; 258 std::unique_ptr<BrowserProcessSubThread> cache_thread_;
259 std::unique_ptr<BrowserProcessSubThread> io_thread_; 259 std::unique_ptr<BrowserProcessSubThread> io_thread_;
260 260
261 // Members initialized in |BrowserThreadsStarted()| -------------------------- 261 // Members initialized in |BrowserThreadsStarted()| --------------------------
262 std::unique_ptr<base::Thread> indexed_db_thread_; 262 std::unique_ptr<base::Thread> indexed_db_thread_;
263 std::unique_ptr<MojoShellContext> mojo_shell_context_; 263 std::unique_ptr<ShellContext> shell_context_;
264 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_; 264 std::unique_ptr<mojo::edk::ScopedIPCSupport> mojo_ipc_support_;
265 265
266 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first. 266 // |user_input_monitor_| has to outlive |audio_manager_|, so declared first.
267 std::unique_ptr<media::UserInputMonitor> user_input_monitor_; 267 std::unique_ptr<media::UserInputMonitor> user_input_monitor_;
268 // AudioThread needs to outlive |audio_manager_|. 268 // AudioThread needs to outlive |audio_manager_|.
269 std::unique_ptr<base::Thread> audio_thread_; 269 std::unique_ptr<base::Thread> audio_thread_;
270 media::ScopedAudioManagerPtr audio_manager_; 270 media::ScopedAudioManagerPtr audio_manager_;
271 271
272 std::unique_ptr<media::midi::MidiManager> midi_manager_; 272 std::unique_ptr<media::midi::MidiManager> midi_manager_;
273 273
(...skipping 15 matching lines...) Expand all
289 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; 289 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_;
290 290
291 // DO NOT add members here. Add them to the right categories above. 291 // DO NOT add members here. Add them to the right categories above.
292 292
293 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); 293 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
294 }; 294 };
295 295
296 } // namespace content 296 } // namespace content
297 297
298 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ 298 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698