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" |
27 #include "chrome/installer/util/l10n_string_util.h" | 28 #include "chrome/installer/util/l10n_string_util.h" |
28 #include "chrome/installer/util/master_preferences.h" | 29 #include "chrome/installer/util/master_preferences.h" |
29 #include "chrome/installer/util/non_updating_app_registration_data.h" | 30 #include "chrome/installer/util/non_updating_app_registration_data.h" |
30 | 31 |
31 #include "installer_util_strings.h" // NOLINT | |
32 | |
33 using installer::MasterPreferences; | 32 using installer::MasterPreferences; |
34 | 33 |
35 namespace { | 34 namespace { |
36 | 35 |
37 const wchar_t kChromiumActiveSetupGuid[] = | 36 const wchar_t kChromiumActiveSetupGuid[] = |
38 L"{7D2B3E1D-D096-4594-9D8F-A6667F12E0AC}"; | 37 L"{7D2B3E1D-D096-4594-9D8F-A6667F12E0AC}"; |
39 | 38 |
40 const wchar_t kCommandExecuteImplUuid[] = | 39 const wchar_t kCommandExecuteImplUuid[] = |
41 L"{A2DF06F9-A21A-44A8-8A99-8B9C84F29160}"; | 40 L"{A2DF06F9-A21A-44A8-8A99-8B9C84F29160}"; |
42 | 41 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 installer::InstallStatus install_status) { | 277 installer::InstallStatus install_status) { |
279 } | 278 } |
280 | 279 |
281 bool BrowserDistribution::ShouldSetExperimentLabels() { | 280 bool BrowserDistribution::ShouldSetExperimentLabels() { |
282 return false; | 281 return false; |
283 } | 282 } |
284 | 283 |
285 bool BrowserDistribution::HasUserExperiments() { | 284 bool BrowserDistribution::HasUserExperiments() { |
286 return false; | 285 return false; |
287 } | 286 } |
OLD | NEW |