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
3 // found in the LICENSE file.
5 // This file declares a class that contains various method related to branding.
7 #include "chrome/installer/util/google_chrome_binaries_distribution.h"
9 #include "base/logging.h"
13 const wchar_t kChromiumBinariesName
[] = L
"Chromium Binaries";
17 ChromiumBinariesDistribution::ChromiumBinariesDistribution()
18 : BrowserDistribution(CHROME_BINARIES
),
19 browser_distribution_(
20 BrowserDistribution::GetSpecificDistribution(CHROME_BROWSER
)) {
23 base::string16
ChromiumBinariesDistribution::GetAppGuid() {
24 return base::string16();
27 base::string16
ChromiumBinariesDistribution::GetBaseAppName() {
29 return base::string16();
32 base::string16
ChromiumBinariesDistribution::GetBrowserProgIdPrefix() {
34 return base::string16();
37 base::string16
ChromiumBinariesDistribution::GetBrowserProgIdDesc() {
39 return base::string16();
42 base::string16
ChromiumBinariesDistribution::GetDisplayName() {
43 return kChromiumBinariesName
;
46 base::string16
ChromiumBinariesDistribution::GetShortcutName(
47 ShortcutType shortcut_type
) {
49 return base::string16();
52 base::string16
ChromiumBinariesDistribution::GetBaseAppId() {
54 return base::string16();
57 base::string16
ChromiumBinariesDistribution::GetInstallSubDir() {
58 return browser_distribution_
->GetInstallSubDir();
61 base::string16
ChromiumBinariesDistribution::GetPublisherName() {
63 return base::string16();
66 base::string16
ChromiumBinariesDistribution::GetAppDescription() {
68 return base::string16();
71 base::string16
ChromiumBinariesDistribution::GetLongAppDescription() {
73 return base::string16();
76 std::string
ChromiumBinariesDistribution::GetSafeBrowsingName() {
81 base::string16
ChromiumBinariesDistribution::GetStateKey() {
82 return base::string16(L
"Software\\").append(kChromiumBinariesName
);
85 base::string16
ChromiumBinariesDistribution::GetStateMediumKey() {
86 return base::string16(L
"Software\\").append(kChromiumBinariesName
);
89 base::string16
ChromiumBinariesDistribution::GetUninstallLinkName() {
91 return base::string16();
94 base::string16
ChromiumBinariesDistribution::GetUninstallRegPath() {
96 return base::string16();
99 base::string16
ChromiumBinariesDistribution::GetVersionKey() {
100 return base::string16(L
"Software\\").append(kChromiumBinariesName
);
103 BrowserDistribution::DefaultBrowserControlPolicy
104 ChromiumBinariesDistribution::GetDefaultBrowserControlPolicy() {
105 return DEFAULT_BROWSER_UNSUPPORTED
;
108 int ChromiumBinariesDistribution::GetIconIndex(ShortcutType shortcut_type
) {
113 bool ChromiumBinariesDistribution::GetChromeChannel(base::string16
* channel
) {
118 bool ChromiumBinariesDistribution::GetCommandExecuteImplClsid(
119 base::string16
* handler_class_uuid
) {