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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 void MainMessageLoopRun(); | 156 void MainMessageLoopRun(); |
157 | 157 |
158 base::FilePath GetStartupTraceFileName( | 158 base::FilePath GetStartupTraceFileName( |
159 const base::CommandLine& command_line) const; | 159 const base::CommandLine& command_line) const; |
160 void InitStartupTracingForDuration(const base::CommandLine& command_line); | 160 void InitStartupTracingForDuration(const base::CommandLine& command_line); |
161 void EndStartupTracing(); | 161 void EndStartupTracing(); |
162 | 162 |
163 bool UsingInProcessGpu() const; | 163 bool UsingInProcessGpu() const; |
164 | 164 |
| 165 #if defined(OS_WIN) |
| 166 static void RecordWindowsVersionInformation(); |
| 167 #endif |
| 168 |
165 // Quick reference for initialization order: | 169 // Quick reference for initialization order: |
166 // Constructor | 170 // Constructor |
167 // Init() | 171 // Init() |
168 // EarlyInitialization() | 172 // EarlyInitialization() |
169 // InitializeToolkit() | 173 // InitializeToolkit() |
170 // PreMainMessageLoopStart() | 174 // PreMainMessageLoopStart() |
171 // MainMessageLoopStart() | 175 // MainMessageLoopStart() |
172 // InitializeMainThread() | 176 // InitializeMainThread() |
173 // PostMainMessageLoopStart() | 177 // PostMainMessageLoopStart() |
174 // InitStartupTracingForDuration() | 178 // InitStartupTracingForDuration() |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 scoped_ptr<TimeZoneMonitor> time_zone_monitor_; | 268 scoped_ptr<TimeZoneMonitor> time_zone_monitor_; |
265 | 269 |
266 // DO NOT add members here. Add them to the right categories above. | 270 // DO NOT add members here. Add them to the right categories above. |
267 | 271 |
268 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 272 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
269 }; | 273 }; |
270 | 274 |
271 } // namespace content | 275 } // namespace content |
272 | 276 |
273 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 277 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |