OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file extends the browser distribution with a specific implementation | 5 // This file extends the browser distribution with a specific implementation |
6 // for Chrome Frame. | 6 // for Chrome Frame. |
7 | 7 |
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
10 | 10 |
11 #include "chrome/installer/util/browser_distribution.h" | 11 #include "chrome/installer/util/browser_distribution.h" |
12 #include "chrome/installer/util/util_constants.h" | 12 #include "chrome/installer/util/util_constants.h" |
13 | 13 |
14 class ChromeFrameDistribution : public BrowserDistribution { | 14 class ChromeFrameDistribution : public BrowserDistribution { |
15 public: | 15 public: |
16 virtual base::string16 GetBrowserProgIdPrefix() override; | 16 base::string16 GetBrowserProgIdPrefix() override; |
17 | 17 |
18 virtual base::string16 GetBrowserProgIdDesc() override; | 18 base::string16 GetBrowserProgIdDesc() override; |
19 | 19 |
20 virtual base::string16 GetDisplayName() override; | 20 base::string16 GetDisplayName() override; |
21 | 21 |
22 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) override; | 22 base::string16 GetShortcutName(ShortcutType shortcut_type) override; |
23 | 23 |
24 virtual int GetIconIndex(ShortcutType shortcut_type) override; | 24 int GetIconIndex(ShortcutType shortcut_type) override; |
25 | 25 |
26 virtual base::string16 GetBaseAppName() override; | 26 base::string16 GetBaseAppName() override; |
27 | 27 |
28 virtual base::string16 GetInstallSubDir() override; | 28 base::string16 GetInstallSubDir() override; |
29 | 29 |
30 virtual base::string16 GetPublisherName() override; | 30 base::string16 GetPublisherName() override; |
31 | 31 |
32 virtual base::string16 GetAppDescription() override; | 32 base::string16 GetAppDescription() override; |
33 | 33 |
34 virtual base::string16 GetLongAppDescription() override; | 34 base::string16 GetLongAppDescription() override; |
35 | 35 |
36 virtual std::string GetSafeBrowsingName() override; | 36 std::string GetSafeBrowsingName() override; |
37 | 37 |
38 virtual std::string GetNetworkStatsServer() const override; | 38 std::string GetNetworkStatsServer() const override; |
39 | 39 |
40 virtual base::string16 GetUninstallLinkName() override; | 40 base::string16 GetUninstallLinkName() override; |
41 | 41 |
42 virtual base::string16 GetUninstallRegPath() override; | 42 base::string16 GetUninstallRegPath() override; |
43 | 43 |
44 virtual base::string16 GetIconFilename() override; | 44 base::string16 GetIconFilename() override; |
45 | 45 |
46 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override; | 46 DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override; |
47 | 47 |
48 virtual bool CanCreateDesktopShortcuts() override; | 48 bool CanCreateDesktopShortcuts() override; |
49 | 49 |
50 virtual bool GetCommandExecuteImplClsid( | 50 bool GetCommandExecuteImplClsid(base::string16* handler_class_uuid) override; |
51 base::string16* handler_class_uuid) override; | |
52 | 51 |
53 virtual void UpdateInstallStatus(bool system_install, | 52 void UpdateInstallStatus(bool system_install, |
54 installer::ArchiveType archive_type, | 53 installer::ArchiveType archive_type, |
55 installer::InstallStatus install_status) override; | 54 installer::InstallStatus install_status) override; |
56 | 55 |
57 protected: | 56 protected: |
58 friend class BrowserDistribution; | 57 friend class BrowserDistribution; |
59 | 58 |
60 // Disallow construction from non-friends. | 59 // Disallow construction from non-friends. |
61 ChromeFrameDistribution(); | 60 ChromeFrameDistribution(); |
62 }; | 61 }; |
63 | 62 |
64 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 63 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
OLD | NEW |