| 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 #include "chrome/browser/chrome_browser_main_win.h" | 5 #include "chrome/browser/chrome_browser_main_win.h" |
| 6 | 6 |
| 7 #include <shellapi.h> | 7 #include <shellapi.h> |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "base/macros.h" | 22 #include "base/macros.h" |
| 23 #include "base/metrics/histogram.h" | 23 #include "base/metrics/histogram.h" |
| 24 #include "base/path_service.h" | 24 #include "base/path_service.h" |
| 25 #include "base/scoped_native_library.h" | 25 #include "base/scoped_native_library.h" |
| 26 #include "base/strings/string_number_conversions.h" | 26 #include "base/strings/string_number_conversions.h" |
| 27 #include "base/strings/utf_string_conversions.h" | 27 #include "base/strings/utf_string_conversions.h" |
| 28 #include "base/win/registry.h" | 28 #include "base/win/registry.h" |
| 29 #include "base/win/win_util.h" | 29 #include "base/win/win_util.h" |
| 30 #include "base/win/windows_version.h" | 30 #include "base/win/windows_version.h" |
| 31 #include "base/win/wrapped_window_proc.h" | 31 #include "base/win/wrapped_window_proc.h" |
| 32 #include "chrome/browser/browser_util_win.h" | |
| 33 #include "chrome/browser/chrome_elf_init_win.h" | |
| 34 #include "chrome/browser/first_run/first_run.h" | 32 #include "chrome/browser/first_run/first_run.h" |
| 35 #include "chrome/browser/install_verification/win/install_verification.h" | 33 #include "chrome/browser/install_verification/win/install_verification.h" |
| 36 #include "chrome/browser/profiles/profile_shortcut_manager.h" | 34 #include "chrome/browser/profiles/profile_shortcut_manager.h" |
| 37 #include "chrome/browser/shell_integration.h" | 35 #include "chrome/browser/shell_integration.h" |
| 38 #include "chrome/browser/ui/simple_message_box.h" | 36 #include "chrome/browser/ui/simple_message_box.h" |
| 39 #include "chrome/browser/ui/uninstall_browser_prompt.h" | 37 #include "chrome/browser/ui/uninstall_browser_prompt.h" |
| 38 #include "chrome/browser/win/browser_util.h" |
| 39 #include "chrome/browser/win/chrome_elf_init.h" |
| 40 #include "chrome/chrome_watcher/chrome_watcher_main_api.h" | 40 #include "chrome/chrome_watcher/chrome_watcher_main_api.h" |
| 41 #include "chrome/common/chrome_constants.h" | 41 #include "chrome/common/chrome_constants.h" |
| 42 #include "chrome/common/chrome_paths.h" | 42 #include "chrome/common/chrome_paths.h" |
| 43 #include "chrome/common/chrome_result_codes.h" | 43 #include "chrome/common/chrome_result_codes.h" |
| 44 #include "chrome/common/chrome_switches.h" | 44 #include "chrome/common/chrome_switches.h" |
| 45 #include "chrome/common/chrome_utility_messages.h" | 45 #include "chrome/common/chrome_utility_messages.h" |
| 46 #include "chrome/common/env_vars.h" | 46 #include "chrome/common/env_vars.h" |
| 47 #include "chrome/grit/chromium_strings.h" | 47 #include "chrome/grit/chromium_strings.h" |
| 48 #include "chrome/grit/generated_resources.h" | 48 #include "chrome/grit/generated_resources.h" |
| 49 #include "chrome/installer/util/browser_distribution.h" | 49 #include "chrome/installer/util/browser_distribution.h" |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 if (resource_id) | 520 if (resource_id) |
| 521 return l10n_util::GetStringUTF16(resource_id); | 521 return l10n_util::GetStringUTF16(resource_id); |
| 522 return base::string16(); | 522 return base::string16(); |
| 523 } | 523 } |
| 524 | 524 |
| 525 // static | 525 // static |
| 526 void ChromeBrowserMainPartsWin::SetupInstallerUtilStrings() { | 526 void ChromeBrowserMainPartsWin::SetupInstallerUtilStrings() { |
| 527 CR_DEFINE_STATIC_LOCAL(TranslationDelegate, delegate, ()); | 527 CR_DEFINE_STATIC_LOCAL(TranslationDelegate, delegate, ()); |
| 528 installer::SetTranslationDelegate(&delegate); | 528 installer::SetTranslationDelegate(&delegate); |
| 529 } | 529 } |
| OLD | NEW |