| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 void InitializeMojo(); | 184 void InitializeMojo(); |
| 185 base::FilePath GetStartupTraceFileName( | 185 base::FilePath GetStartupTraceFileName( |
| 186 const base::CommandLine& command_line) const; | 186 const base::CommandLine& command_line) const; |
| 187 void InitStartupTracingForDuration(const base::CommandLine& command_line); | 187 void InitStartupTracingForDuration(const base::CommandLine& command_line); |
| 188 void EndStartupTracing(); | 188 void EndStartupTracing(); |
| 189 | 189 |
| 190 void CreateAudioManager(); | 190 void CreateAudioManager(); |
| 191 bool UsingInProcessGpu() const; | 191 bool UsingInProcessGpu() const; |
| 192 | 192 |
| 193 void InitializeMemoryManagementComponent(); |
| 194 |
| 193 // Quick reference for initialization order: | 195 // Quick reference for initialization order: |
| 194 // Constructor | 196 // Constructor |
| 195 // Init() | 197 // Init() |
| 196 // EarlyInitialization() | 198 // EarlyInitialization() |
| 197 // InitializeToolkit() | 199 // InitializeToolkit() |
| 198 // PreMainMessageLoopStart() | 200 // PreMainMessageLoopStart() |
| 199 // MainMessageLoopStart() | 201 // MainMessageLoopStart() |
| 200 // InitializeMainThread() | 202 // InitializeMainThread() |
| 201 // PostMainMessageLoopStart() | 203 // PostMainMessageLoopStart() |
| 202 // InitStartupTracingForDuration() | 204 // InitStartupTracingForDuration() |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 scoped_refptr<SaveFileManager> save_file_manager_; | 311 scoped_refptr<SaveFileManager> save_file_manager_; |
| 310 | 312 |
| 311 // DO NOT add members here. Add them to the right categories above. | 313 // DO NOT add members here. Add them to the right categories above. |
| 312 | 314 |
| 313 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 315 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 314 }; | 316 }; |
| 315 | 317 |
| 316 } // namespace content | 318 } // namespace content |
| 317 | 319 |
| 318 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 320 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |