| 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 "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // Init() | 165 // Init() |
| 166 // EarlyInitialization() | 166 // EarlyInitialization() |
| 167 // InitializeToolkit() | 167 // InitializeToolkit() |
| 168 // PreMainMessageLoopStart() | 168 // PreMainMessageLoopStart() |
| 169 // MainMessageLoopStart() | 169 // MainMessageLoopStart() |
| 170 // InitializeMainThread() | 170 // InitializeMainThread() |
| 171 // PostMainMessageLoopStart() | 171 // PostMainMessageLoopStart() |
| 172 // InitStartupTracingForDuration() | 172 // InitStartupTracingForDuration() |
| 173 // CreateStartupTasks() | 173 // CreateStartupTasks() |
| 174 // PreCreateThreads() | 174 // PreCreateThreads() |
| 175 // PreCreateThreadsEnd() |
| 175 // CreateThreads() | 176 // CreateThreads() |
| 176 // BrowserThreadsStarted() | 177 // BrowserThreadsStarted() |
| 177 | 178 |
| 178 // Members initialized on construction --------------------------------------- | 179 // Members initialized on construction --------------------------------------- |
| 179 const MainFunctionParams& parameters_; | 180 const MainFunctionParams& parameters_; |
| 180 const base::CommandLine& parsed_command_line_; | 181 const base::CommandLine& parsed_command_line_; |
| 181 int result_code_; | 182 int result_code_; |
| 182 bool created_threads_; // True if the non-UI threads were created. | 183 bool created_threads_; // True if the non-UI threads were created. |
| 183 bool is_tracing_startup_for_duration_; | 184 bool is_tracing_startup_for_duration_; |
| 184 | 185 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 scoped_ptr<TimeZoneMonitor> time_zone_monitor_; | 265 scoped_ptr<TimeZoneMonitor> time_zone_monitor_; |
| 265 | 266 |
| 266 // DO NOT add members here. Add them to the right categories above. | 267 // DO NOT add members here. Add them to the right categories above. |
| 267 | 268 |
| 268 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 269 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
| 269 }; | 270 }; |
| 270 | 271 |
| 271 } // namespace content | 272 } // namespace content |
| 272 | 273 |
| 273 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 274 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
| OLD | NEW |