Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / installer / util / chromium_binaries_distribution.cc
blobab8d2442b496769b1fe2df90705bdfe3bd63a57e
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.
4 //
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"
11 namespace {
13 const wchar_t kChromiumBinariesName[] = L"Chromium Binaries";
15 } // namespace
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() {
28 NOTREACHED();
29 return base::string16();
32 base::string16 ChromiumBinariesDistribution::GetBrowserProgIdPrefix() {
33 NOTREACHED();
34 return base::string16();
37 base::string16 ChromiumBinariesDistribution::GetBrowserProgIdDesc() {
38 NOTREACHED();
39 return base::string16();
42 base::string16 ChromiumBinariesDistribution::GetDisplayName() {
43 return kChromiumBinariesName;
46 base::string16 ChromiumBinariesDistribution::GetShortcutName(
47 ShortcutType shortcut_type) {
48 NOTREACHED();
49 return base::string16();
52 base::string16 ChromiumBinariesDistribution::GetBaseAppId() {
53 NOTREACHED();
54 return base::string16();
57 base::string16 ChromiumBinariesDistribution::GetInstallSubDir() {
58 return browser_distribution_->GetInstallSubDir();
61 base::string16 ChromiumBinariesDistribution::GetPublisherName() {
62 NOTREACHED();
63 return base::string16();
66 base::string16 ChromiumBinariesDistribution::GetAppDescription() {
67 NOTREACHED();
68 return base::string16();
71 base::string16 ChromiumBinariesDistribution::GetLongAppDescription() {
72 NOTREACHED();
73 return base::string16();
76 std::string ChromiumBinariesDistribution::GetSafeBrowsingName() {
77 NOTREACHED();
78 return std::string();
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() {
90 NOTREACHED();
91 return base::string16();
94 base::string16 ChromiumBinariesDistribution::GetUninstallRegPath() {
95 NOTREACHED();
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) {
109 NOTREACHED();
110 return 0;
113 bool ChromiumBinariesDistribution::GetChromeChannel(base::string16* channel) {
114 NOTREACHED();
115 return false;
118 bool ChromiumBinariesDistribution::GetCommandExecuteImplClsid(
119 base::string16* handler_class_uuid) {
120 return false;