Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: chrome/installer/util/browser_distribution.cc

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove the word 'we' from comment. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698