blob: 2d440be779157ba5803468a6c80d2422e5ac1a92 [file] [log] [blame]
[email protected]acd1ba02012-04-30 16:54:471// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]f0260d22011-01-25 16:44:372// 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.
6
7#ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
8#define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_
[email protected]f0260d22011-01-25 16:44:379
10#include <string>
11
[email protected]f8df93d22014-05-28 19:40:4112#include "base/memory/scoped_ptr.h"
[email protected]f0260d22011-01-25 16:44:3713#include "chrome/installer/util/browser_distribution.h"
14
15class ChromiumBinariesDistribution : public BrowserDistribution {
16 public:
mohan.reddy31cd14f2014-10-07 17:13:1817 virtual base::string16 GetBrowserProgIdPrefix() override;
[email protected]67a8e722013-09-13 06:54:2718
mohan.reddy31cd14f2014-10-07 17:13:1819 virtual base::string16 GetBrowserProgIdDesc() override;
[email protected]67a8e722013-09-13 06:54:2720
mohan.reddy31cd14f2014-10-07 17:13:1821 virtual base::string16 GetDisplayName() override;
[email protected]16fcc0d2013-08-14 04:22:1322
mohan.reddy31cd14f2014-10-07 17:13:1823 virtual base::string16 GetShortcutName(ShortcutType shortcut_type) override;
[email protected]16fcc0d2013-08-14 04:22:1324
mohan.reddy31cd14f2014-10-07 17:13:1825 virtual int GetIconIndex(ShortcutType shortcut_type) override;
[email protected]16fcc0d2013-08-14 04:22:1326
mohan.reddy31cd14f2014-10-07 17:13:1827 virtual base::string16 GetBaseAppName() override;
[email protected]f0260d22011-01-25 16:44:3728
mohan.reddy31cd14f2014-10-07 17:13:1829 virtual base::string16 GetBaseAppId() override;
[email protected]f0260d22011-01-25 16:44:3730
mohan.reddy31cd14f2014-10-07 17:13:1831 virtual base::string16 GetInstallSubDir() override;
[email protected]f0260d22011-01-25 16:44:3732
mohan.reddy31cd14f2014-10-07 17:13:1833 virtual base::string16 GetPublisherName() override;
[email protected]f0260d22011-01-25 16:44:3734
mohan.reddy31cd14f2014-10-07 17:13:1835 virtual base::string16 GetAppDescription() override;
[email protected]f0260d22011-01-25 16:44:3736
mohan.reddy31cd14f2014-10-07 17:13:1837 virtual base::string16 GetLongAppDescription() override;
[email protected]f0260d22011-01-25 16:44:3738
mohan.reddy31cd14f2014-10-07 17:13:1839 virtual std::string GetSafeBrowsingName() override;
[email protected]f0260d22011-01-25 16:44:3740
mohan.reddy31cd14f2014-10-07 17:13:1841 virtual base::string16 GetUninstallLinkName() override;
[email protected]f0260d22011-01-25 16:44:3742
mohan.reddy31cd14f2014-10-07 17:13:1843 virtual base::string16 GetUninstallRegPath() override;
[email protected]f0260d22011-01-25 16:44:3744
mohan.reddy31cd14f2014-10-07 17:13:1845 virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override;
[email protected]f0260d22011-01-25 16:44:3746
mohan.reddy31cd14f2014-10-07 17:13:1847 virtual bool GetChromeChannel(base::string16* channel) override;
[email protected]f0260d22011-01-25 16:44:3748
[email protected]84c285f2012-09-01 05:49:0949 virtual bool GetCommandExecuteImplClsid(
mohan.reddy31cd14f2014-10-07 17:13:1850 base::string16* handler_class_uuid) override;
[email protected]794764bc2012-08-31 02:22:4851
[email protected]f0260d22011-01-25 16:44:3752 protected:
53 friend class BrowserDistribution;
54
55 ChromiumBinariesDistribution();
56
[email protected]f8df93d22014-05-28 19:40:4157 explicit ChromiumBinariesDistribution(
58 scoped_ptr<AppRegistrationData> app_reg_data);
59
[email protected]f0260d22011-01-25 16:44:3760 BrowserDistribution* browser_distribution_;
61
62 private:
63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution);
64};
65
66#endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_