OLD | NEW |
(Empty) | |
| 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 AppHost. |
| 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
| 9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
| 10 |
| 11 #include "chrome/installer/util/browser_distribution.h" |
| 12 #include "chrome/installer/util/util_constants.h" |
| 13 |
| 14 class ChromeAppHostDistribution : public BrowserDistribution { |
| 15 public: |
| 16 virtual string16 GetAppGuid() OVERRIDE; |
| 17 |
| 18 virtual string16 GetBaseAppName() OVERRIDE; |
| 19 |
| 20 virtual string16 GetAppShortCutName() OVERRIDE; |
| 21 |
| 22 virtual string16 GetAlternateApplicationName() OVERRIDE; |
| 23 |
| 24 virtual string16 GetInstallSubDir() OVERRIDE; |
| 25 |
| 26 virtual string16 GetPublisherName() OVERRIDE; |
| 27 |
| 28 virtual string16 GetAppDescription() OVERRIDE; |
| 29 |
| 30 virtual string16 GetLongAppDescription() OVERRIDE; |
| 31 |
| 32 virtual std::string GetSafeBrowsingName() OVERRIDE; |
| 33 |
| 34 virtual string16 GetStateKey() OVERRIDE; |
| 35 |
| 36 virtual string16 GetStateMediumKey() OVERRIDE; |
| 37 |
| 38 virtual string16 GetStatsServerURL() OVERRIDE; |
| 39 |
| 40 virtual std::string GetNetworkStatsServer() const OVERRIDE; |
| 41 |
| 42 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE; |
| 43 |
| 44 virtual string16 GetUninstallLinkName() OVERRIDE; |
| 45 |
| 46 virtual string16 GetUninstallRegPath() OVERRIDE; |
| 47 |
| 48 virtual string16 GetVersionKey() OVERRIDE; |
| 49 |
| 50 virtual bool CanSetAsDefault() OVERRIDE; |
| 51 |
| 52 virtual bool CanCreateDesktopShortcuts() OVERRIDE; |
| 53 |
| 54 virtual bool GetDelegateExecuteHandlerData(string16* handler_class_uuid, |
| 55 string16* type_lib_uuid, |
| 56 string16* type_lib_version, |
| 57 string16* interface_uuid) OVERRIDE; |
| 58 |
| 59 virtual void UpdateInstallStatus(bool system_install, |
| 60 installer::ArchiveType archive_type, |
| 61 installer::InstallStatus install_status) OVERRIDE; |
| 62 |
| 63 protected: |
| 64 friend class BrowserDistribution; |
| 65 |
| 66 // Disallow construction from non-friends. |
| 67 ChromeAppHostDistribution(); |
| 68 }; |
| 69 |
| 70 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_ |
OLD | NEW |