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. 6 7 #include "chrome/installer/util/google_chrome_binaries_distribution.h" 8 9 #include "base/logging.h" 10 11 namespace { 12 13 const wchar_t kChromiumBinariesName[] = L"Chromium Binaries"; 14 15 } // namespace 16 17 ChromiumBinariesDistribution::ChromiumBinariesDistribution() 18 : BrowserDistribution(CHROME_BINARIES), 19 browser_distribution_( 20 BrowserDistribution::GetSpecificDistribution(CHROME_BROWSER)) { 21 } 22 23 string16 ChromiumBinariesDistribution::GetAppGuid() { 24 return string16(); 25 } 26 27 string16 ChromiumBinariesDistribution::GetBaseAppName() { 28 NOTREACHED(); 29 return string16(); 30 } 31 32 string16 ChromiumBinariesDistribution::GetBrowserProgIdPrefix() { 33 NOTREACHED(); 34 return string16(); 35 } 36 37 string16 ChromiumBinariesDistribution::GetBrowserProgIdDesc() { 38 NOTREACHED(); 39 return string16(); 40 } 41 42 string16 ChromiumBinariesDistribution::GetDisplayName() { 43 return kChromiumBinariesName; 44 } 45 46 string16 ChromiumBinariesDistribution::GetShortcutName( 47 ShortcutType shortcut_type) { 48 NOTREACHED(); 49 return string16(); 50 } 51 52 string16 ChromiumBinariesDistribution::GetBaseAppId() { 53 NOTREACHED(); 54 return string16(); 55 } 56 57 string16 ChromiumBinariesDistribution::GetInstallSubDir() { 58 return browser_distribution_->GetInstallSubDir(); 59 } 60 61 string16 ChromiumBinariesDistribution::GetPublisherName() { 62 NOTREACHED(); 63 return string16(); 64 } 65 66 string16 ChromiumBinariesDistribution::GetAppDescription() { 67 NOTREACHED(); 68 return string16(); 69 } 70 71 string16 ChromiumBinariesDistribution::GetLongAppDescription() { 72 NOTREACHED(); 73 return string16(); 74 } 75 76 std::string ChromiumBinariesDistribution::GetSafeBrowsingName() { 77 NOTREACHED(); 78 return std::string(); 79 } 80 81 string16 ChromiumBinariesDistribution::GetStateKey() { 82 return string16(L"Software\\").append(kChromiumBinariesName); 83 } 84 85 string16 ChromiumBinariesDistribution::GetStateMediumKey() { 86 return string16(L"Software\\").append(kChromiumBinariesName); 87 } 88 89 string16 ChromiumBinariesDistribution::GetUninstallLinkName() { 90 NOTREACHED(); 91 return string16(); 92 } 93 94 string16 ChromiumBinariesDistribution::GetUninstallRegPath() { 95 NOTREACHED(); 96 return string16(); 97 } 98 99 string16 ChromiumBinariesDistribution::GetVersionKey() { 100 return string16(L"Software\\").append(kChromiumBinariesName); 101 } 102 103 BrowserDistribution::DefaultBrowserControlPolicy 104 ChromiumBinariesDistribution::GetDefaultBrowserControlPolicy() { 105 return DEFAULT_BROWSER_UNSUPPORTED; 106 } 107 108 int ChromiumBinariesDistribution::GetIconIndex(ShortcutType shortcut_type) { 109 NOTREACHED(); 110 return 0; 111 } 112 113 bool ChromiumBinariesDistribution::GetChromeChannel(string16* channel) { 114 NOTREACHED(); 115 return false; 116 } 117 118 bool ChromiumBinariesDistribution::GetCommandExecuteImplClsid( 119 string16* handler_class_uuid) { 120 return false; 121 } 122