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 // This file defines a class that contains various method related to branding. | 5 // This file defines a class that contains various method related to branding. |
6 // It provides only default implementations of these methods. Usually to add | 6 // It provides only default implementations of these methods. Usually to add |
7 // specific branding, we will need to extend this class with a custom | 7 // specific branding, we will need to extend this class with a custom |
8 // implementation. | 8 // implementation. |
9 | 9 |
10 #include "chrome/installer/util/browser_distribution.h" | 10 #include "chrome/installer/util/browser_distribution.h" |
11 | 11 |
12 #include "base/atomicops.h" | 12 #include "base/atomicops.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/win/registry.h" | 16 #include "base/win/registry.h" |
17 #include "base/win/windows_version.h" | 17 #include "base/win/windows_version.h" |
18 #include "chrome/common/chrome_icon_resources_win.h" | 18 #include "chrome/common/chrome_icon_resources_win.h" |
19 #include "chrome/common/env_vars.h" | 19 #include "chrome/common/env_vars.h" |
20 #include "chrome/installer/util/app_registration_data.h" | 20 #include "chrome/installer/util/app_registration_data.h" |
21 #include "chrome/installer/util/chrome_frame_distribution.h" | 21 #include "chrome/installer/util/chrome_frame_distribution.h" |
22 #include "chrome/installer/util/chromium_binaries_distribution.h" | 22 #include "chrome/installer/util/chromium_binaries_distribution.h" |
23 #include "chrome/installer/util/google_chrome_binaries_distribution.h" | 23 #include "chrome/installer/util/google_chrome_binaries_distribution.h" |
24 #include "chrome/installer/util/google_chrome_distribution.h" | 24 #include "chrome/installer/util/google_chrome_distribution.h" |
25 #include "chrome/installer/util/google_chrome_sxs_distribution.h" | 25 #include "chrome/installer/util/google_chrome_sxs_distribution.h" |
26 #include "chrome/installer/util/install_util.h" | 26 #include "chrome/installer/util/install_util.h" |
27 #include "chrome/installer/util/installer_util_strings.h" | |
28 #include "chrome/installer/util/l10n_string_util.h" | 27 #include "chrome/installer/util/l10n_string_util.h" |
29 #include "chrome/installer/util/master_preferences.h" | 28 #include "chrome/installer/util/master_preferences.h" |
30 #include "chrome/installer/util/non_updating_app_registration_data.h" | 29 #include "chrome/installer/util/non_updating_app_registration_data.h" |
31 | 30 |
| 31 #include "installer_util_strings.h" // NOLINT |
| 32 |
32 using installer::MasterPreferences; | 33 using installer::MasterPreferences; |
33 | 34 |
34 namespace { | 35 namespace { |
35 | 36 |
36 const wchar_t kChromiumActiveSetupGuid[] = | 37 const wchar_t kChromiumActiveSetupGuid[] = |
37 L"{7D2B3E1D-D096-4594-9D8F-A6667F12E0AC}"; | 38 L"{7D2B3E1D-D096-4594-9D8F-A6667F12E0AC}"; |
38 | 39 |
39 const wchar_t kCommandExecuteImplUuid[] = | 40 const wchar_t kCommandExecuteImplUuid[] = |
40 L"{A2DF06F9-A21A-44A8-8A99-8B9C84F29160}"; | 41 L"{A2DF06F9-A21A-44A8-8A99-8B9C84F29160}"; |
41 | 42 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 installer::InstallStatus install_status) { | 278 installer::InstallStatus install_status) { |
278 } | 279 } |
279 | 280 |
280 bool BrowserDistribution::ShouldSetExperimentLabels() { | 281 bool BrowserDistribution::ShouldSetExperimentLabels() { |
281 return false; | 282 return false; |
282 } | 283 } |
283 | 284 |
284 bool BrowserDistribution::HasUserExperiments() { | 285 bool BrowserDistribution::HasUserExperiments() { |
285 return false; | 286 return false; |
286 } | 287 } |
OLD | NEW |