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 base::string16
GetBrowserProgIdPrefix() override
;
19 base::string16
GetBrowserProgIdDesc() override
;
21 base::string16
GetDisplayName() override
;
23 base::string16
GetShortcutName(ShortcutType shortcut_type
) override
;
25 int GetIconIndex(ShortcutType shortcut_type
) override
;
27 base::string16
GetBaseAppName() override
;
29 base::string16
GetBaseAppId() override
;
31 base::string16
GetInstallSubDir() override
;
33 base::string16
GetPublisherName() override
;
35 base::string16
GetAppDescription() override
;
37 base::string16
GetLongAppDescription() override
;
39 std::string
GetSafeBrowsingName() override
;
41 base::string16
GetUninstallRegPath() override
;
43 DefaultBrowserControlPolicy
GetDefaultBrowserControlPolicy() override
;
45 bool GetChromeChannel(base::string16
* channel
) override
;
47 bool GetCommandExecuteImplClsid(base::string16
* handler_class_uuid
) override
;
50 friend class BrowserDistribution
;
52 ChromiumBinariesDistribution();
54 explicit ChromiumBinariesDistribution(
55 scoped_ptr
<AppRegistrationData
> app_reg_data
);
57 BrowserDistribution
* browser_distribution_
;
60 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution
);
63 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_