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 AppHost. | 6 // for Chrome AppHost. |
7 | 7 |
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual std::string GetNetworkStatsServer() const OVERRIDE; | 43 virtual std::string GetNetworkStatsServer() const OVERRIDE; |
44 | 44 |
45 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; | 45 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; |
46 | 46 |
47 virtual string16 GetUninstallLinkName() OVERRIDE; | 47 virtual string16 GetUninstallLinkName() OVERRIDE; |
48 | 48 |
49 virtual string16 GetUninstallRegPath() OVERRIDE; | 49 virtual string16 GetUninstallRegPath() OVERRIDE; |
50 | 50 |
51 virtual string16 GetVersionKey() OVERRIDE; | 51 virtual string16 GetVersionKey() OVERRIDE; |
52 | 52 |
| 53 virtual bool IsSetAsDefaultSupported() OVERRIDE; |
| 54 |
53 virtual bool CanSetAsDefault() OVERRIDE; | 55 virtual bool CanSetAsDefault() OVERRIDE; |
54 | 56 |
55 virtual bool CanCreateDesktopShortcuts() OVERRIDE; | 57 virtual bool CanCreateDesktopShortcuts() OVERRIDE; |
56 | 58 |
57 virtual bool GetCommandExecuteImplClsid( | 59 virtual bool GetCommandExecuteImplClsidString( |
58 string16* handler_class_uuid) OVERRIDE; | 60 string16* handler_class_uuid) OVERRIDE; |
59 | 61 |
| 62 #if defined(OS_WIN) |
| 63 virtual bool GetCommandExecuteImplClsid(CLSID* handler_class_uuid) OVERRIDE; |
| 64 #endif |
| 65 |
60 virtual void UpdateInstallStatus(bool system_install, | 66 virtual void UpdateInstallStatus(bool system_install, |
61 installer::ArchiveType archive_type, | 67 installer::ArchiveType archive_type, |
62 installer::InstallStatus install_status) OVERRIDE; | 68 installer::InstallStatus install_status) OVERRIDE; |
63 | 69 |
64 protected: | 70 protected: |
65 friend class BrowserDistribution; | 71 friend class BrowserDistribution; |
66 | 72 |
67 // Disallow construction from non-friends. | 73 // Disallow construction from non-friends. |
68 ChromeAppHostDistribution(); | 74 ChromeAppHostDistribution(); |
69 }; | 75 }; |
70 | 76 |
71 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ | 77 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
OLD | NEW |