[email protected] | acd1ba0 | 2012-04-30 16:54:47 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 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. | ||||
6 | |||||
7 | #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | ||||
8 | #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | ||||
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 9 | |
10 | #include <string> | ||||
11 | |||||
[email protected] | f8df93d2 | 2014-05-28 19:40:41 | [diff] [blame] | 12 | #include "base/memory/scoped_ptr.h" |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 13 | #include "chrome/installer/util/browser_distribution.h" |
14 | |||||
15 | class ChromiumBinariesDistribution : public BrowserDistribution { | ||||
16 | public: | ||||
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 17 | virtual base::string16 GetBrowserProgIdPrefix() override; |
[email protected] | 67a8e72 | 2013-09-13 06:54:27 | [diff] [blame] | 18 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 19 | virtual base::string16 GetBrowserProgIdDesc() override; |
[email protected] | 67a8e72 | 2013-09-13 06:54:27 | [diff] [blame] | 20 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 21 | virtual base::string16 GetDisplayName() override; |
[email protected] | 16fcc0d | 2013-08-14 04:22:13 | [diff] [blame] | 22 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 23 | virtual base::string16 GetShortcutName(ShortcutType shortcut_type) override; |
[email protected] | 16fcc0d | 2013-08-14 04:22:13 | [diff] [blame] | 24 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 25 | virtual int GetIconIndex(ShortcutType shortcut_type) override; |
[email protected] | 16fcc0d | 2013-08-14 04:22:13 | [diff] [blame] | 26 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 27 | virtual base::string16 GetBaseAppName() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 28 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 29 | virtual base::string16 GetBaseAppId() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 30 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 31 | virtual base::string16 GetInstallSubDir() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 32 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 33 | virtual base::string16 GetPublisherName() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 34 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 35 | virtual base::string16 GetAppDescription() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 36 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 37 | virtual base::string16 GetLongAppDescription() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 38 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 39 | virtual std::string GetSafeBrowsingName() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 40 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 41 | virtual base::string16 GetUninstallLinkName() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 42 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 43 | virtual base::string16 GetUninstallRegPath() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 44 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 45 | virtual DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 46 | |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 47 | virtual bool GetChromeChannel(base::string16* channel) override; |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 48 | |
[email protected] | 84c285f | 2012-09-01 05:49:09 | [diff] [blame] | 49 | virtual bool GetCommandExecuteImplClsid( |
mohan.reddy | 31cd14f | 2014-10-07 17:13:18 | [diff] [blame] | 50 | base::string16* handler_class_uuid) override; |
[email protected] | 794764bc | 2012-08-31 02:22:48 | [diff] [blame] | 51 | |
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 52 | protected: |
53 | friend class BrowserDistribution; | ||||
54 | |||||
55 | ChromiumBinariesDistribution(); | ||||
56 | |||||
[email protected] | f8df93d2 | 2014-05-28 19:40:41 | [diff] [blame] | 57 | explicit ChromiumBinariesDistribution( |
58 | scoped_ptr<AppRegistrationData> app_reg_data); | ||||
59 | |||||
[email protected] | f0260d2 | 2011-01-25 16:44:37 | [diff] [blame] | 60 | BrowserDistribution* browser_distribution_; |
61 | |||||
62 | private: | ||||
63 | DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); | ||||
64 | }; | ||||
65 | |||||
66 | #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |