Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / installer / util / chrome_app_host_distribution.h
blobd939bfb72df529c40db44ce791f5239967972994
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.
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
9 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_
11 #include "chrome/installer/util/browser_distribution.h"
12 #include "chrome/installer/util/util_constants.h"
14 class ChromeAppHostDistribution : public BrowserDistribution {
15 public:
16 virtual base::string16 GetAppGuid() OVERRIDE;
18 virtual base::string16 GetDisplayName() OVERRIDE;
20 virtual base::string16 GetBrowserProgIdPrefix() OVERRIDE;
22 virtual base::string16 GetBrowserProgIdDesc() OVERRIDE;
24 // This can only be called with SHORTCUT_APP_LAUNCHER for |shortcut_type|.
25 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE;
27 virtual base::string16 GetIconFilename() OVERRIDE;
29 virtual base::string16 GetBaseAppName() OVERRIDE;
31 virtual base::string16 GetBaseAppId() OVERRIDE;
33 virtual base::string16 GetInstallSubDir() OVERRIDE;
35 virtual base::string16 GetPublisherName() OVERRIDE;
37 virtual base::string16 GetAppDescription() OVERRIDE;
39 virtual base::string16 GetLongAppDescription() OVERRIDE;
41 virtual std::string GetSafeBrowsingName() OVERRIDE;
43 virtual base::string16 GetStateKey() OVERRIDE;
45 virtual base::string16 GetStateMediumKey() OVERRIDE;
47 virtual std::string GetNetworkStatsServer() const OVERRIDE;
49 virtual std::string GetHttpPipeliningTestServer() const OVERRIDE;
51 virtual base::string16 GetUninstallLinkName() OVERRIDE;
53 virtual base::string16 GetUninstallRegPath() OVERRIDE;
55 virtual base::string16 GetVersionKey() OVERRIDE;
57 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() OVERRIDE;
59 virtual bool CanCreateDesktopShortcuts() OVERRIDE;
61 virtual bool GetCommandExecuteImplClsid(
62 base::string16* handler_class_uuid) OVERRIDE;
64 virtual void UpdateInstallStatus(bool system_install,
65 installer::ArchiveType archive_type,
66 installer::InstallStatus install_status) OVERRIDE;
68 protected:
69 friend class BrowserDistribution;
71 // Disallow construction from non-friends.
72 ChromeAppHostDistribution();
75 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_DISTRIBUTION_H_