Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / installer / util / chromium_binaries_distribution.h
blob986b8f38e6720867fca1ddef43a3f4d64eee3a40
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 declares a class that contains various method related to branding.
7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
10 #include <string>
12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/installer/util/browser_distribution.h"
15 class ChromiumBinariesDistribution : public BrowserDistribution {
16 public:
17 base::string16 GetBrowserProgIdPrefix() override;
19 base::string16 GetBrowserProgIdDesc() override;
21 base::string16 GetDisplayName() override;
23 base::string16 GetShortcutName(ShortcutType shortcut_type) override;
25 int GetIconIndex(ShortcutType shortcut_type) override;
27 base::string16 GetBaseAppName() override;
29 base::string16 GetBaseAppId() override;
31 base::string16 GetInstallSubDir() override;
33 base::string16 GetPublisherName() override;
35 base::string16 GetAppDescription() override;
37 base::string16 GetLongAppDescription() override;
39 std::string GetSafeBrowsingName() override;
41 base::string16 GetUninstallLinkName() override;
43 base::string16 GetUninstallRegPath() override;
45 DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override;
47 bool GetChromeChannel(base::string16* channel) override;
49 bool GetCommandExecuteImplClsid(base::string16* handler_class_uuid) override;
51 protected:
52 friend class BrowserDistribution;
54 ChromiumBinariesDistribution();
56 explicit ChromiumBinariesDistribution(
57 scoped_ptr<AppRegistrationData> app_reg_data);
59 BrowserDistribution* browser_distribution_;
61 private:
62 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution);
65 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_