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 string16 GetAppGuid() OVERRIDE; | 16 virtual string16 GetAppGuid() OVERRIDE; |
17 | 17 |
| 18 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; |
| 19 |
| 20 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; |
| 21 |
18 virtual string16 GetBaseAppName() OVERRIDE; | 22 virtual string16 GetBaseAppName() OVERRIDE; |
19 | 23 |
20 virtual string16 GetAppShortCutName() OVERRIDE; | |
21 | |
22 virtual string16 GetAlternateApplicationName() OVERRIDE; | |
23 | |
24 virtual string16 GetInstallSubDir() OVERRIDE; | 24 virtual string16 GetInstallSubDir() OVERRIDE; |
25 | 25 |
26 virtual string16 GetPublisherName() OVERRIDE; | 26 virtual string16 GetPublisherName() OVERRIDE; |
27 | 27 |
28 virtual string16 GetAppDescription() OVERRIDE; | 28 virtual string16 GetAppDescription() OVERRIDE; |
29 | 29 |
30 virtual string16 GetLongAppDescription() OVERRIDE; | 30 virtual string16 GetLongAppDescription() OVERRIDE; |
31 | 31 |
32 virtual std::string GetSafeBrowsingName() OVERRIDE; | 32 virtual std::string GetSafeBrowsingName() OVERRIDE; |
33 | 33 |
34 virtual string16 GetStateKey() OVERRIDE; | 34 virtual string16 GetStateKey() OVERRIDE; |
35 | 35 |
36 virtual string16 GetStateMediumKey() OVERRIDE; | 36 virtual string16 GetStateMediumKey() OVERRIDE; |
37 | 37 |
38 virtual std::string GetNetworkStatsServer() const OVERRIDE; | 38 virtual std::string GetNetworkStatsServer() const OVERRIDE; |
39 | 39 |
40 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; | 40 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; |
41 | 41 |
42 virtual string16 GetUninstallLinkName() OVERRIDE; | 42 virtual string16 GetUninstallLinkName() OVERRIDE; |
43 | 43 |
44 virtual string16 GetUninstallRegPath() OVERRIDE; | 44 virtual string16 GetUninstallRegPath() OVERRIDE; |
45 | 45 |
46 virtual string16 GetVersionKey() OVERRIDE; | 46 virtual string16 GetVersionKey() OVERRIDE; |
47 | 47 |
48 virtual string16 GetIconFilename() OVERRIDE; | 48 virtual string16 GetIconFilename() OVERRIDE; |
49 | 49 |
50 virtual int GetIconIndex() OVERRIDE; | |
51 | |
52 virtual bool CanSetAsDefault() OVERRIDE; | 50 virtual bool CanSetAsDefault() OVERRIDE; |
53 | 51 |
54 virtual bool CanCreateDesktopShortcuts() OVERRIDE; | 52 virtual bool CanCreateDesktopShortcuts() OVERRIDE; |
55 | 53 |
56 virtual bool GetCommandExecuteImplClsid( | 54 virtual bool GetCommandExecuteImplClsid( |
57 string16* handler_class_uuid) OVERRIDE; | 55 string16* handler_class_uuid) OVERRIDE; |
58 | 56 |
59 virtual void UpdateInstallStatus(bool system_install, | 57 virtual void UpdateInstallStatus(bool system_install, |
60 installer::ArchiveType archive_type, | 58 installer::ArchiveType archive_type, |
61 installer::InstallStatus install_status) OVERRIDE; | 59 installer::InstallStatus install_status) OVERRIDE; |
62 | 60 |
63 protected: | 61 protected: |
64 friend class BrowserDistribution; | 62 friend class BrowserDistribution; |
65 | 63 |
66 // Disallow construction from non-friends. | 64 // Disallow construction from non-friends. |
67 ChromeFrameDistribution(); | 65 ChromeFrameDistribution(); |
68 }; | 66 }; |
69 | 67 |
70 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 68 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
OLD | NEW |