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/message_box_flags.h" | |
15 #include "app/win_util.h" | 14 #include "app/win_util.h" |
16 #include "base/command_line.h" | 15 #include "base/command_line.h" |
17 #include "base/i18n/rtl.h" | 16 #include "base/i18n/rtl.h" |
18 #include "base/nss_util.h" | 17 #include "base/nss_util.h" |
19 #include "base/path_service.h" | 18 #include "base/path_service.h" |
20 #include "base/win_util.h" | 19 #include "base/win_util.h" |
21 #include "chrome/browser/browser_list.h" | 20 #include "chrome/browser/browser_list.h" |
22 #include "chrome/browser/first_run/first_run.h" | 21 #include "chrome/browser/first_run/first_run.h" |
23 #include "chrome/browser/metrics/metrics_service.h" | 22 #include "chrome/browser/metrics/metrics_service.h" |
24 #include "chrome/browser/views/uninstall_view.h" | 23 #include "chrome/browser/views/uninstall_view.h" |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 base::EnsureNSPRInit(); | 231 base::EnsureNSPRInit(); |
233 } | 232 } |
234 } | 233 } |
235 }; | 234 }; |
236 | 235 |
237 // static | 236 // static |
238 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( | 237 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( |
239 const MainFunctionParams& parameters) { | 238 const MainFunctionParams& parameters) { |
240 return new BrowserMainPartsWin(parameters); | 239 return new BrowserMainPartsWin(parameters); |
241 } | 240 } |
OLD | NEW |