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 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
      8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
      9 
     10 #include <string>
     11 
     12 #include "chrome/installer/util/browser_distribution.h"
     13 
     14 class ChromiumBinariesDistribution : public BrowserDistribution {
     15  public:
     16   virtual string16 GetAppGuid() OVERRIDE;
     17 
     18   virtual string16 GetBaseAppName() OVERRIDE;
     19 
     20   virtual string16 GetAppShortCutName() OVERRIDE;
     21 
     22   virtual string16 GetAlternateApplicationName() OVERRIDE;
     23 
     24   virtual string16 GetBaseAppId() OVERRIDE;
     25 
     26   virtual string16 GetInstallSubDir() OVERRIDE;
     27 
     28   virtual string16 GetPublisherName() OVERRIDE;
     29 
     30   virtual string16 GetAppDescription() OVERRIDE;
     31 
     32   virtual string16 GetLongAppDescription() OVERRIDE;
     33 
     34   virtual std::string GetSafeBrowsingName() OVERRIDE;
     35 
     36   virtual string16 GetStateKey() OVERRIDE;
     37 
     38   virtual string16 GetStateMediumKey() OVERRIDE;
     39 
     40   virtual string16 GetUninstallLinkName() OVERRIDE;
     41 
     42   virtual string16 GetUninstallRegPath() OVERRIDE;
     43 
     44   virtual string16 GetVersionKey() OVERRIDE;
     45 
     46   virtual bool CanSetAsDefault() OVERRIDE;
     47 
     48   virtual int GetIconIndex() OVERRIDE;
     49 
     50   virtual bool GetChromeChannel(string16* channel) OVERRIDE;
     51 
     52   virtual bool GetCommandExecuteImplClsid(
     53       string16* handler_class_uuid) OVERRIDE;
     54 
     55  protected:
     56   friend class BrowserDistribution;
     57 
     58   ChromiumBinariesDistribution();
     59 
     60   BrowserDistribution* browser_distribution_;
     61 
     62  private:
     63   DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution);
     64 };
     65 
     66 #endif  // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
     67