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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 } | 135 } |
136 | 136 |
137 bool BrowserDistribution::CanSetAsDefault() { | 137 bool BrowserDistribution::CanSetAsDefault() { |
138 return true; | 138 return true; |
139 } | 139 } |
140 | 140 |
141 bool BrowserDistribution::ShouldUseAlternateIcon() { | 141 bool BrowserDistribution::ShouldUseAlternateIcon() { |
142 return false; | 142 return false; |
143 } | 143 } |
144 | 144 |
| 145 bool BrowserDistribution::IsSpdyEnabled() { |
| 146 return false; |
| 147 } |
| 148 |
| 149 std::string BrowserDistribution::GetSpdyMode() { |
| 150 return ""; |
| 151 } |
| 152 |
145 bool BrowserDistribution::GetChromeChannel(std::wstring* channel) { | 153 bool BrowserDistribution::GetChromeChannel(std::wstring* channel) { |
146 return false; | 154 return false; |
147 } | 155 } |
148 | 156 |
149 void BrowserDistribution::UpdateDiffInstallStatus(bool system_install, | 157 void BrowserDistribution::UpdateDiffInstallStatus(bool system_install, |
150 bool incremental_install, installer_util::InstallStatus install_status) { | 158 bool incremental_install, installer_util::InstallStatus install_status) { |
151 } | 159 } |
152 | 160 |
153 void BrowserDistribution::LaunchUserExperiment( | 161 void BrowserDistribution::LaunchUserExperiment( |
154 installer_util::InstallStatus status, const installer::Version& version, | 162 installer_util::InstallStatus status, const installer::Version& version, |
155 bool system_install) { | 163 bool system_install) { |
156 } | 164 } |
157 | 165 |
158 | 166 |
159 void BrowserDistribution::InactiveUserToastExperiment(int flavor, | 167 void BrowserDistribution::InactiveUserToastExperiment(int flavor, |
160 bool system_install) { | 168 bool system_install) { |
161 } | 169 } |
OLD | NEW |