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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // Create all secondary threads. | 168 // Create all secondary threads. |
169 int CreateThreads(); | 169 int CreateThreads(); |
170 | 170 |
171 // Called right after the browser threads have been started. | 171 // Called right after the browser threads have been started. |
172 int BrowserThreadsStarted(); | 172 int BrowserThreadsStarted(); |
173 | 173 |
174 int PreMainMessageLoopRun(); | 174 int PreMainMessageLoopRun(); |
175 | 175 |
176 void MainMessageLoopRun(); | 176 void MainMessageLoopRun(); |
177 | 177 |
| 178 void InitializeMojo(); |
178 base::FilePath GetStartupTraceFileName( | 179 base::FilePath GetStartupTraceFileName( |
179 const base::CommandLine& command_line) const; | 180 const base::CommandLine& command_line) const; |
180 void InitStartupTracingForDuration(const base::CommandLine& command_line); | 181 void InitStartupTracingForDuration(const base::CommandLine& command_line); |
181 void EndStartupTracing(); | 182 void EndStartupTracing(); |
182 | 183 |
183 void CreateAudioManager(); | 184 void CreateAudioManager(); |
184 bool UsingInProcessGpu() const; | 185 bool UsingInProcessGpu() const; |
185 | 186 |
186 // Quick reference for initialization order: | 187 // Quick reference for initialization order: |
187 // Constructor | 188 // Constructor |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; | 299 std::unique_ptr<TimeZoneMonitor> time_zone_monitor_; |
299 | 300 |
300 // DO NOT add members here. Add them to the right categories above. | 301 // DO NOT add members here. Add them to the right categories above. |
301 | 302 |
302 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 303 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
303 }; | 304 }; |
304 | 305 |
305 } // namespace content | 306 } // namespace content |
306 | 307 |
307 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 308 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |