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 "base/memory/scoped_ptr.h"
13 #include "chrome/installer/util/browser_distribution.h"
15 class ChromiumBinariesDistribution
: public BrowserDistribution
{
17 virtual base::string16
GetBrowserProgIdPrefix() override
;
19 virtual base::string16
GetBrowserProgIdDesc() override
;
21 virtual base::string16
GetDisplayName() override
;
23 virtual base::string16
GetShortcutName(ShortcutType shortcut_type
) override
;
25 virtual int GetIconIndex(ShortcutType shortcut_type
) override
;
27 virtual base::string16
GetBaseAppName() override
;
29 virtual base::string16
GetBaseAppId() override
;
31 virtual base::string16
GetInstallSubDir() override
;
33 virtual base::string16
GetPublisherName() override
;
35 virtual base::string16
GetAppDescription() override
;
37 virtual base::string16
GetLongAppDescription() override
;
39 virtual std::string
GetSafeBrowsingName() override
;
41 virtual base::string16
GetUninstallLinkName() override
;
43 virtual base::string16
GetUninstallRegPath() override
;
45 virtual DefaultBrowserControlPolicy
GetDefaultBrowserControlPolicy() override
;
47 virtual bool GetChromeChannel(base::string16
* channel
) override
;
49 virtual bool GetCommandExecuteImplClsid(
50 base::string16
* handler_class_uuid
) override
;
53 friend class BrowserDistribution
;
55 ChromiumBinariesDistribution();
57 explicit ChromiumBinariesDistribution(
58 scoped_ptr
<AppRegistrationData
> app_reg_data
);
60 BrowserDistribution
* browser_distribution_
;
63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution
);
66 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_