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 <windows.h> | 7 #include <windows.h> |
8 #include <shellapi.h> | 8 #include <shellapi.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "chrome/browser/profiles/profile_shortcut_manager.h" | 36 #include "chrome/browser/profiles/profile_shortcut_manager.h" |
37 #include "chrome/browser/shell_integration.h" | 37 #include "chrome/browser/shell_integration.h" |
38 #include "chrome/browser/ui/simple_message_box.h" | 38 #include "chrome/browser/ui/simple_message_box.h" |
39 #include "chrome/browser/ui/uninstall_browser_prompt.h" | 39 #include "chrome/browser/ui/uninstall_browser_prompt.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/chrome_version_info.h" | |
47 #include "chrome/common/env_vars.h" | 46 #include "chrome/common/env_vars.h" |
48 #include "chrome/grit/chromium_strings.h" | 47 #include "chrome/grit/chromium_strings.h" |
49 #include "chrome/grit/generated_resources.h" | 48 #include "chrome/grit/generated_resources.h" |
50 #include "chrome/installer/util/browser_distribution.h" | 49 #include "chrome/installer/util/browser_distribution.h" |
51 #include "chrome/installer/util/helper.h" | 50 #include "chrome/installer/util/helper.h" |
52 #include "chrome/installer/util/install_util.h" | 51 #include "chrome/installer/util/install_util.h" |
53 #include "chrome/installer/util/installer_util_strings.h" | 52 #include "chrome/installer/util/installer_util_strings.h" |
54 #include "chrome/installer/util/l10n_string_util.h" | 53 #include "chrome/installer/util/l10n_string_util.h" |
55 #include "chrome/installer/util/shell_util.h" | 54 #include "chrome/installer/util/shell_util.h" |
56 #include "components/variations/variations_associated_data.h" | 55 #include "components/variations/variations_associated_data.h" |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 if (resource_id) | 586 if (resource_id) |
588 return l10n_util::GetStringUTF16(resource_id); | 587 return l10n_util::GetStringUTF16(resource_id); |
589 return base::string16(); | 588 return base::string16(); |
590 } | 589 } |
591 | 590 |
592 // static | 591 // static |
593 void ChromeBrowserMainPartsWin::SetupInstallerUtilStrings() { | 592 void ChromeBrowserMainPartsWin::SetupInstallerUtilStrings() { |
594 CR_DEFINE_STATIC_LOCAL(TranslationDelegate, delegate, ()); | 593 CR_DEFINE_STATIC_LOCAL(TranslationDelegate, delegate, ()); |
595 installer::SetTranslationDelegate(&delegate); | 594 installer::SetTranslationDelegate(&delegate); |
596 } | 595 } |
OLD | NEW |