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" |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
250 } | 250 } |
251 | 251 |
252 string16 BrowserDistribution::GetVersionKey() { | 252 string16 BrowserDistribution::GetVersionKey() { |
253 return L"Software\\Chromium"; | 253 return L"Software\\Chromium"; |
254 } | 254 } |
255 | 255 |
256 bool BrowserDistribution::CanSetAsDefault() { | 256 bool BrowserDistribution::CanSetAsDefault() { |
257 return true; | 257 return true; |
258 } | 258 } |
259 | 259 |
260 void BrowserDistribution::DebugEnableSetAsDefault() { | |
261 NOTREACHED(); | |
grt (UTC plus 2)
2013/08/30 03:28:18
why NOTREACHED rather than noop? NOTREACHED will c
grt (UTC plus 2)
2013/09/04 03:33:36
ping?
zturner
2013/09/05 01:35:29
Done.
| |
262 } | |
263 | |
264 | |
260 bool BrowserDistribution::CanCreateDesktopShortcuts() { | 265 bool BrowserDistribution::CanCreateDesktopShortcuts() { |
261 return true; | 266 return true; |
262 } | 267 } |
263 | 268 |
264 bool BrowserDistribution::GetChromeChannel(string16* channel) { | 269 bool BrowserDistribution::GetChromeChannel(string16* channel) { |
265 return false; | 270 return false; |
266 } | 271 } |
267 | 272 |
268 bool BrowserDistribution::GetCommandExecuteImplClsid( | 273 bool BrowserDistribution::GetCommandExecuteImplClsid( |
269 string16* handler_class_uuid) { | 274 string16* handler_class_uuid) { |
(...skipping 11 matching lines...) Expand all Loading... | |
281 installer::InstallStatus install_status) { | 286 installer::InstallStatus install_status) { |
282 } | 287 } |
283 | 288 |
284 bool BrowserDistribution::ShouldSetExperimentLabels() { | 289 bool BrowserDistribution::ShouldSetExperimentLabels() { |
285 return false; | 290 return false; |
286 } | 291 } |
287 | 292 |
288 bool BrowserDistribution::HasUserExperiments() { | 293 bool BrowserDistribution::HasUserExperiments() { |
289 return false; | 294 return false; |
290 } | 295 } |
OLD | NEW |