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" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 std::wstring BrowserDistribution::GetUninstallRegPath() { | 129 std::wstring BrowserDistribution::GetUninstallRegPath() { |
130 return L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium"; | 130 return L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium"; |
131 } | 131 } |
132 | 132 |
133 std::wstring BrowserDistribution::GetVersionKey() { | 133 std::wstring BrowserDistribution::GetVersionKey() { |
134 return L"Software\\Chromium"; | 134 return L"Software\\Chromium"; |
135 } | 135 } |
136 | 136 |
137 std::wstring BrowserDistribution::GetEnvVersionKey() { | 137 std::wstring BrowserDistribution::GetEnvVersionKey() { |
138 return L"CHROME_VERSION"; | 138 return L"CHROMIUM_VERSION"; |
139 } | 139 } |
140 | 140 |
141 bool BrowserDistribution::CanSetAsDefault() { | 141 bool BrowserDistribution::CanSetAsDefault() { |
142 return true; | 142 return true; |
143 } | 143 } |
144 | 144 |
145 bool BrowserDistribution::ShouldUseAlternateIcon() { | 145 bool BrowserDistribution::ShouldUseAlternateIcon() { |
146 return false; | 146 return false; |
147 } | 147 } |
148 | 148 |
149 bool BrowserDistribution::GetChromeChannel(std::wstring* channel) { | 149 bool BrowserDistribution::GetChromeChannel(std::wstring* channel) { |
150 return false; | 150 return false; |
151 } | 151 } |
152 | 152 |
153 void BrowserDistribution::UpdateDiffInstallStatus(bool system_install, | 153 void BrowserDistribution::UpdateDiffInstallStatus(bool system_install, |
154 bool incremental_install, installer_util::InstallStatus install_status) { | 154 bool incremental_install, installer_util::InstallStatus install_status) { |
155 } | 155 } |
156 | 156 |
157 void BrowserDistribution::LaunchUserExperiment( | 157 void BrowserDistribution::LaunchUserExperiment( |
158 installer_util::InstallStatus status, const installer::Version& version, | 158 installer_util::InstallStatus status, const installer::Version& version, |
159 bool system_install) { | 159 bool system_install) { |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 void BrowserDistribution::InactiveUserToastExperiment(int flavor, | 163 void BrowserDistribution::InactiveUserToastExperiment(int flavor, |
164 bool system_install) { | 164 bool system_install) { |
165 } | 165 } |
OLD | NEW |