| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 } | 172 } |
| 173 | 173 |
| 174 std::wstring BrowserDistribution::GetStateMediumKey() { | 174 std::wstring BrowserDistribution::GetStateMediumKey() { |
| 175 return L"Software\\Chromium"; | 175 return L"Software\\Chromium"; |
| 176 } | 176 } |
| 177 | 177 |
| 178 std::wstring BrowserDistribution::GetStatsServerURL() { | 178 std::wstring BrowserDistribution::GetStatsServerURL() { |
| 179 return L""; | 179 return L""; |
| 180 } | 180 } |
| 181 | 181 |
| 182 std::string BrowserDistribution::GetNetworkStatsServer() const { |
| 183 return ""; |
| 184 } |
| 185 |
| 182 std::wstring BrowserDistribution::GetDistributionData(HKEY root_key) { | 186 std::wstring BrowserDistribution::GetDistributionData(HKEY root_key) { |
| 183 return L""; | 187 return L""; |
| 184 } | 188 } |
| 185 | 189 |
| 186 std::wstring BrowserDistribution::GetUninstallLinkName() { | 190 std::wstring BrowserDistribution::GetUninstallLinkName() { |
| 187 return L"Uninstall Chromium"; | 191 return L"Uninstall Chromium"; |
| 188 } | 192 } |
| 189 | 193 |
| 190 std::wstring BrowserDistribution::GetUninstallRegPath() { | 194 std::wstring BrowserDistribution::GetUninstallRegPath() { |
| 191 return L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium"; | 195 return L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium"; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 222 const Version& version, const installer::Product& installation, | 226 const Version& version, const installer::Product& installation, |
| 223 bool system_level) { | 227 bool system_level) { |
| 224 } | 228 } |
| 225 | 229 |
| 226 | 230 |
| 227 void BrowserDistribution::InactiveUserToastExperiment(int flavor, | 231 void BrowserDistribution::InactiveUserToastExperiment(int flavor, |
| 228 const std::wstring& experiment_group, | 232 const std::wstring& experiment_group, |
| 229 const installer::Product& installation, | 233 const installer::Product& installation, |
| 230 const FilePath& application_path) { | 234 const FilePath& application_path) { |
| 231 } | 235 } |
| OLD | NEW |