Home | History | Annotate | Download | only in util
      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::GetAppShortCutName() {
     33   return kChromiumBinariesName;
     34 }
     35 
     36 string16 ChromiumBinariesDistribution::GetAlternateApplicationName() {
     37   NOTREACHED();
     38   return string16();
     39 }
     40 
     41 string16 ChromiumBinariesDistribution::GetBaseAppId() {
     42   NOTREACHED();
     43   return string16();
     44 }
     45 
     46 string16 ChromiumBinariesDistribution::GetInstallSubDir() {
     47   return browser_distribution_->GetInstallSubDir();
     48 }
     49 
     50 string16 ChromiumBinariesDistribution::GetPublisherName() {
     51   NOTREACHED();
     52   return string16();
     53 }
     54 
     55 string16 ChromiumBinariesDistribution::GetAppDescription() {
     56   NOTREACHED();
     57   return string16();
     58 }
     59 
     60 string16 ChromiumBinariesDistribution::GetLongAppDescription() {
     61   NOTREACHED();
     62   return string16();
     63 }
     64 
     65 std::string ChromiumBinariesDistribution::GetSafeBrowsingName() {
     66   NOTREACHED();
     67   return std::string();
     68 }
     69 
     70 string16 ChromiumBinariesDistribution::GetStateKey() {
     71   return string16(L"Software\\").append(kChromiumBinariesName);
     72 }
     73 
     74 string16 ChromiumBinariesDistribution::GetStateMediumKey() {
     75   return string16(L"Software\\").append(kChromiumBinariesName);
     76 }
     77 
     78 string16 ChromiumBinariesDistribution::GetUninstallLinkName() {
     79   NOTREACHED();
     80   return string16();
     81 }
     82 
     83 string16 ChromiumBinariesDistribution::GetUninstallRegPath() {
     84   NOTREACHED();
     85   return string16();
     86 }
     87 
     88 string16 ChromiumBinariesDistribution::GetVersionKey() {
     89   return string16(L"Software\\").append(kChromiumBinariesName);
     90 }
     91 
     92 bool ChromiumBinariesDistribution::CanSetAsDefault() {
     93   return false;
     94 }
     95 
     96 int ChromiumBinariesDistribution::GetIconIndex() {
     97   NOTREACHED();
     98   return 0;
     99 }
    100 
    101 bool ChromiumBinariesDistribution::GetChromeChannel(string16* channel) {
    102   NOTREACHED();
    103   return false;
    104 }
    105 
    106 bool ChromiumBinariesDistribution::GetCommandExecuteImplClsid(
    107     string16* handler_class_uuid) {
    108   return false;
    109 }
    110