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 extends the browser distribution with a specific implementation
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_
9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_
11 #include "chrome/installer/util/browser_distribution.h"
12 #include "chrome/installer/util/util_constants.h"
14 class ChromeFrameDistribution
: public BrowserDistribution
{
16 base::string16
GetBrowserProgIdPrefix() override
;
18 base::string16
GetBrowserProgIdDesc() override
;
20 base::string16
GetDisplayName() override
;
22 base::string16
GetShortcutName(ShortcutType shortcut_type
) override
;
24 int GetIconIndex(ShortcutType shortcut_type
) override
;
26 base::string16
GetBaseAppName() override
;
28 base::string16
GetInstallSubDir() override
;
30 base::string16
GetPublisherName() override
;
32 base::string16
GetAppDescription() override
;
34 base::string16
GetLongAppDescription() override
;
36 std::string
GetSafeBrowsingName() override
;
38 base::string16
GetUninstallRegPath() override
;
40 base::string16
GetIconFilename() override
;
42 DefaultBrowserControlPolicy
GetDefaultBrowserControlPolicy() override
;
44 bool CanCreateDesktopShortcuts() override
;
46 base::string16
GetCommandExecuteImplClsid() override
;
48 void UpdateInstallStatus(bool system_install
,
49 installer::ArchiveType archive_type
,
50 installer::InstallStatus install_status
) override
;
53 friend class BrowserDistribution
;
55 // Disallow construction from non-friends.
56 ChromeFrameDistribution();
59 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_