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 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
12 #include "chrome/installer/util/browser_distribution.h"
14 class ChromiumBinariesDistribution
: public BrowserDistribution
{
16 virtual base::string16
GetAppGuid() OVERRIDE
;
18 virtual base::string16
GetBrowserProgIdPrefix() OVERRIDE
;
20 virtual base::string16
GetBrowserProgIdDesc() OVERRIDE
;
22 virtual base::string16
GetDisplayName() OVERRIDE
;
24 virtual base::string16
GetShortcutName(ShortcutType shortcut_type
) OVERRIDE
;
26 virtual int GetIconIndex(ShortcutType shortcut_type
) OVERRIDE
;
28 virtual base::string16
GetBaseAppName() OVERRIDE
;
30 virtual base::string16
GetBaseAppId() OVERRIDE
;
32 virtual base::string16
GetInstallSubDir() OVERRIDE
;
34 virtual base::string16
GetPublisherName() OVERRIDE
;
36 virtual base::string16
GetAppDescription() OVERRIDE
;
38 virtual base::string16
GetLongAppDescription() OVERRIDE
;
40 virtual std::string
GetSafeBrowsingName() OVERRIDE
;
42 virtual base::string16
GetStateKey() OVERRIDE
;
44 virtual base::string16
GetStateMediumKey() OVERRIDE
;
46 virtual base::string16
GetUninstallLinkName() OVERRIDE
;
48 virtual base::string16
GetUninstallRegPath() OVERRIDE
;
50 virtual base::string16
GetVersionKey() OVERRIDE
;
52 virtual DefaultBrowserControlPolicy
GetDefaultBrowserControlPolicy() OVERRIDE
;
54 virtual bool GetChromeChannel(base::string16
* channel
) OVERRIDE
;
56 virtual bool GetCommandExecuteImplClsid(
57 base::string16
* handler_class_uuid
) OVERRIDE
;
60 friend class BrowserDistribution
;
62 ChromiumBinariesDistribution();
64 BrowserDistribution
* browser_distribution_
;
67 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution
);
70 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_