| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "base/lock.h" | 13 #include "base/lock.h" |
| 14 #include "base/registry.h" | 14 #include "base/win/registry.h" |
| 15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
| 16 #include "chrome/common/env_vars.h" | 16 #include "chrome/common/env_vars.h" |
| 17 #include "chrome/installer/util/chrome_frame_distribution.h" | 17 #include "chrome/installer/util/chrome_frame_distribution.h" |
| 18 #include "chrome/installer/util/google_chrome_distribution.h" | 18 #include "chrome/installer/util/google_chrome_distribution.h" |
| 19 #include "chrome/installer/util/google_chrome_sxs_distribution.h" | 19 #include "chrome/installer/util/google_chrome_sxs_distribution.h" |
| 20 #include "chrome/installer/util/install_util.h" | 20 #include "chrome/installer/util/install_util.h" |
| 21 #include "chrome/installer/util/l10n_string_util.h" | 21 #include "chrome/installer/util/l10n_string_util.h" |
| 22 | 22 |
| 23 #include "installer_util_strings.h" | 23 #include "installer_util_strings.h" |
| 24 | 24 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 } | 115 } |
| 116 | 116 |
| 117 std::wstring BrowserDistribution::GetStateMediumKey() { | 117 std::wstring BrowserDistribution::GetStateMediumKey() { |
| 118 return L"Software\\Chromium"; | 118 return L"Software\\Chromium"; |
| 119 } | 119 } |
| 120 | 120 |
| 121 std::wstring BrowserDistribution::GetStatsServerURL() { | 121 std::wstring BrowserDistribution::GetStatsServerURL() { |
| 122 return L""; | 122 return L""; |
| 123 } | 123 } |
| 124 | 124 |
| 125 std::wstring BrowserDistribution::GetDistributionData(RegKey* key) { | 125 std::wstring BrowserDistribution::GetDistributionData(base::win::RegKey* key) { |
| 126 return L""; | 126 return L""; |
| 127 } | 127 } |
| 128 | 128 |
| 129 std::wstring BrowserDistribution::GetUninstallLinkName() { | 129 std::wstring BrowserDistribution::GetUninstallLinkName() { |
| 130 return L"Uninstall Chromium"; | 130 return L"Uninstall Chromium"; |
| 131 } | 131 } |
| 132 | 132 |
| 133 std::wstring BrowserDistribution::GetUninstallRegPath() { | 133 std::wstring BrowserDistribution::GetUninstallRegPath() { |
| 134 return L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium"; | 134 return L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium"; |
| 135 } | 135 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 160 | 160 |
| 161 void BrowserDistribution::LaunchUserExperiment( | 161 void BrowserDistribution::LaunchUserExperiment( |
| 162 installer_util::InstallStatus status, const installer::Version& version, | 162 installer_util::InstallStatus status, const installer::Version& version, |
| 163 bool system_install) { | 163 bool system_install) { |
| 164 } | 164 } |
| 165 | 165 |
| 166 | 166 |
| 167 void BrowserDistribution::InactiveUserToastExperiment(int flavor, | 167 void BrowserDistribution::InactiveUserToastExperiment(int flavor, |
| 168 bool system_install) { | 168 bool system_install) { |
| 169 } | 169 } |
| OLD | NEW |