Roll src/third_party/WebKit 116cf7f:79abaa8 (svn 189234:189235)
[chromium-blink-merge.git] / chrome / installer / util / chrome_frame_distribution.h
blob9088fe29f9a6b3955a9301dec6ea5d8122373e74
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 extends the browser distribution with a specific implementation
6 // for Chrome Frame.
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 {
15 public:
16 virtual base::string16 GetBrowserProgIdPrefix() override;
18 virtual base::string16 GetBrowserProgIdDesc() override;
20 virtual base::string16 GetDisplayName() override;
22 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) override;
24 virtual int GetIconIndex(ShortcutType shortcut_type) override;
26 virtual base::string16 GetBaseAppName() override;
28 virtual base::string16 GetInstallSubDir() override;
30 virtual base::string16 GetPublisherName() override;
32 virtual base::string16 GetAppDescription() override;
34 virtual base::string16 GetLongAppDescription() override;
36 virtual std::string GetSafeBrowsingName() override;
38 virtual std::string GetNetworkStatsServer() const override;
40 virtual base::string16 GetUninstallLinkName() override;
42 virtual base::string16 GetUninstallRegPath() override;
44 virtual base::string16 GetIconFilename() override;
46 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override;
48 virtual bool CanCreateDesktopShortcuts() override;
50 virtual bool GetCommandExecuteImplClsid(
51 base::string16* handler_class_uuid) override;
53 virtual void UpdateInstallStatus(bool system_install,
54 installer::ArchiveType archive_type,
55 installer::InstallStatus install_status) override;
57 protected:
58 friend class BrowserDistribution;
60 // Disallow construction from non-friends.
61 ChromeFrameDistribution();
64 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_