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

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: Move typedef 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 string16 BrowserDistribution::GetStartMenuShortcutSubfolder( 192 string16 BrowserDistribution::GetStartMenuShortcutSubfolder(
193 Subfolder subfolder_type) { 193 Subfolder subfolder_type) {
194 DCHECK_EQ(subfolder_type, SUBFOLDER_CHROME); 194 DCHECK_EQ(subfolder_type, SUBFOLDER_CHROME);
195 return GetShortcutName(SHORTCUT_CHROME); 195 return GetShortcutName(SHORTCUT_CHROME);
196 } 196 }
197 197
198 string16 BrowserDistribution::GetBaseAppId() { 198 string16 BrowserDistribution::GetBaseAppId() {
199 return L"Chromium"; 199 return L"Chromium";
200 } 200 }
201 201
202 string16 BrowserDistribution::GetBrowserProgIdPrefix() {
203 // This used to be "ChromiumHTML", but was forced to become "ChromiumHTM"
204 // because of http://crbug.com/153349. See the declaration of this function
205 // in the header file for more details.
206 return L"ChromiumHTM";
207 }
208
209 string16 BrowserDistribution::GetBrowserProgIdDesc() {
210 return L"Chromium HTML Document";
211 }
212
213
202 string16 BrowserDistribution::GetInstallSubDir() { 214 string16 BrowserDistribution::GetInstallSubDir() {
203 return L"Chromium"; 215 return L"Chromium";
204 } 216 }
205 217
206 string16 BrowserDistribution::GetPublisherName() { 218 string16 BrowserDistribution::GetPublisherName() {
207 return L"Chromium"; 219 return L"Chromium";
208 } 220 }
209 221
210 string16 BrowserDistribution::GetAppDescription() { 222 string16 BrowserDistribution::GetAppDescription() {
211 return L"Browse the web"; 223 return L"Browse the web";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 installer::InstallStatus install_status) { 293 installer::InstallStatus install_status) {
282 } 294 }
283 295
284 bool BrowserDistribution::ShouldSetExperimentLabels() { 296 bool BrowserDistribution::ShouldSetExperimentLabels() {
285 return false; 297 return false;
286 } 298 }
287 299
288 bool BrowserDistribution::HasUserExperiments() { 300 bool BrowserDistribution::HasUserExperiments() {
289 return false; 301 return false;
290 } 302 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698