| Index: chrome/installer/util/chrome_app_host_distribution.h
|
| diff --git a/chrome/installer/util/chrome_app_host_distribution.h b/chrome/installer/util/chrome_app_host_distribution.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1d5ea4096466f562055f1b17560d8ca2e6197563
|
| --- /dev/null
|
| +++ b/chrome/installer/util/chrome_app_host_distribution.h
|
| @@ -0,0 +1,70 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +//
|
| +// This file extends the browser distribution with a specific implementation
|
| +// for Chrome AppHost.
|
| +
|
| +#ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
|
| +#define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
|
| +
|
| +#include "chrome/installer/util/browser_distribution.h"
|
| +#include "chrome/installer/util/util_constants.h"
|
| +
|
| +class ChromeAppHostDistribution : public BrowserDistribution {
|
| + public:
|
| + virtual string16 GetAppGuid() OVERRIDE;
|
| +
|
| + virtual string16 GetBaseAppName() OVERRIDE;
|
| +
|
| + virtual string16 GetAppShortCutName() OVERRIDE;
|
| +
|
| + virtual string16 GetAlternateApplicationName() OVERRIDE;
|
| +
|
| + virtual string16 GetInstallSubDir() OVERRIDE;
|
| +
|
| + virtual string16 GetPublisherName() OVERRIDE;
|
| +
|
| + virtual string16 GetAppDescription() OVERRIDE;
|
| +
|
| + virtual string16 GetLongAppDescription() OVERRIDE;
|
| +
|
| + virtual std::string GetSafeBrowsingName() OVERRIDE;
|
| +
|
| + virtual string16 GetStateKey() OVERRIDE;
|
| +
|
| + virtual string16 GetStateMediumKey() OVERRIDE;
|
| +
|
| + virtual string16 GetStatsServerURL() OVERRIDE;
|
| +
|
| + virtual std::string GetNetworkStatsServer() const OVERRIDE;
|
| +
|
| + virtual std::string GetHttpPipeliningTestServer() const OVERRIDE;
|
| +
|
| + virtual string16 GetUninstallLinkName() OVERRIDE;
|
| +
|
| + virtual string16 GetUninstallRegPath() OVERRIDE;
|
| +
|
| + virtual string16 GetVersionKey() OVERRIDE;
|
| +
|
| + virtual bool CanSetAsDefault() OVERRIDE;
|
| +
|
| + virtual bool CanCreateDesktopShortcuts() OVERRIDE;
|
| +
|
| + virtual bool GetDelegateExecuteHandlerData(string16* handler_class_uuid,
|
| + string16* type_lib_uuid,
|
| + string16* type_lib_version,
|
| + string16* interface_uuid) OVERRIDE;
|
| +
|
| + virtual void UpdateInstallStatus(bool system_install,
|
| + installer::ArchiveType archive_type,
|
| + installer::InstallStatus install_status) OVERRIDE;
|
| +
|
| + protected:
|
| + friend class BrowserDistribution;
|
| +
|
| + // Disallow construction from non-friends.
|
| + ChromeAppHostDistribution();
|
| +};
|
| +
|
| +#endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
|
|
|