OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/browser_main.h" | 5 #include "chrome/browser/browser_main.h" |
6 #include "chrome/browser/browser_main_win.h" | 6 #include "chrome/browser/browser_main_win.h" |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <shellapi.h> | 9 #include <shellapi.h> |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 | 12 |
13 #include "app/l10n_util.h" | 13 #include "app/l10n_util.h" |
14 #include "app/win_util.h" | 14 #include "app/win_util.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/i18n/rtl.h" | 16 #include "base/i18n/rtl.h" |
17 #include "base/nss_util.h" | 17 #include "base/nss_util.h" |
18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 19 #include "base/utf_string_conversions.h" |
19 #include "base/win_util.h" | 20 #include "base/win_util.h" |
20 #include "chrome/browser/browser_list.h" | 21 #include "chrome/browser/browser_list.h" |
21 #include "chrome/browser/first_run/first_run.h" | 22 #include "chrome/browser/first_run/first_run.h" |
22 #include "chrome/browser/metrics/metrics_service.h" | 23 #include "chrome/browser/metrics/metrics_service.h" |
23 #include "chrome/browser/views/uninstall_view.h" | 24 #include "chrome/browser/views/uninstall_view.h" |
24 #include "chrome/common/chrome_switches.h" | 25 #include "chrome/common/chrome_switches.h" |
25 #include "chrome/common/env_vars.h" | 26 #include "chrome/common/env_vars.h" |
26 #include "chrome/common/result_codes.h" | 27 #include "chrome/common/result_codes.h" |
27 #include "chrome/installer/util/helper.h" | 28 #include "chrome/installer/util/helper.h" |
28 #include "chrome/installer/util/install_util.h" | 29 #include "chrome/installer/util/install_util.h" |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 base::EnsureNSPRInit(); | 232 base::EnsureNSPRInit(); |
232 } | 233 } |
233 } | 234 } |
234 }; | 235 }; |
235 | 236 |
236 // static | 237 // static |
237 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( | 238 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( |
238 const MainFunctionParams& parameters) { | 239 const MainFunctionParams& parameters) { |
239 return new BrowserMainPartsWin(parameters); | 240 return new BrowserMainPartsWin(parameters); |
240 } | 241 } |
OLD | NEW |