OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file declares a class that contains various method related to branding. | 5 // This file declares a class that contains various method related to branding. |
6 | 6 |
7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "chrome/installer/util/browser_distribution.h" | 12 #include "chrome/installer/util/browser_distribution.h" |
13 | 13 |
14 class ChromiumBinariesDistribution : public BrowserDistribution { | 14 class ChromiumBinariesDistribution : public BrowserDistribution { |
15 public: | 15 public: |
16 virtual string16 GetAppGuid() OVERRIDE; | 16 virtual string16 GetAppGuid() OVERRIDE; |
17 | 17 |
| 18 virtual string16 GetDisplayName() OVERRIDE; |
| 19 |
| 20 virtual string16 GetShortcutName(ShortcutType shortcut_type) OVERRIDE; |
| 21 |
| 22 virtual int GetIconIndex(ShortcutType shortcut_type) OVERRIDE; |
| 23 |
18 virtual string16 GetBaseAppName() OVERRIDE; | 24 virtual string16 GetBaseAppName() OVERRIDE; |
19 | 25 |
20 virtual string16 GetAppShortCutName() OVERRIDE; | |
21 | |
22 virtual string16 GetAlternateApplicationName() OVERRIDE; | |
23 | |
24 virtual string16 GetBaseAppId() OVERRIDE; | 26 virtual string16 GetBaseAppId() OVERRIDE; |
25 | 27 |
26 virtual string16 GetInstallSubDir() OVERRIDE; | 28 virtual string16 GetInstallSubDir() OVERRIDE; |
27 | 29 |
28 virtual string16 GetPublisherName() OVERRIDE; | 30 virtual string16 GetPublisherName() OVERRIDE; |
29 | 31 |
30 virtual string16 GetAppDescription() OVERRIDE; | 32 virtual string16 GetAppDescription() OVERRIDE; |
31 | 33 |
32 virtual string16 GetLongAppDescription() OVERRIDE; | 34 virtual string16 GetLongAppDescription() OVERRIDE; |
33 | 35 |
34 virtual std::string GetSafeBrowsingName() OVERRIDE; | 36 virtual std::string GetSafeBrowsingName() OVERRIDE; |
35 | 37 |
36 virtual string16 GetStateKey() OVERRIDE; | 38 virtual string16 GetStateKey() OVERRIDE; |
37 | 39 |
38 virtual string16 GetStateMediumKey() OVERRIDE; | 40 virtual string16 GetStateMediumKey() OVERRIDE; |
39 | 41 |
40 virtual string16 GetUninstallLinkName() OVERRIDE; | 42 virtual string16 GetUninstallLinkName() OVERRIDE; |
41 | 43 |
42 virtual string16 GetUninstallRegPath() OVERRIDE; | 44 virtual string16 GetUninstallRegPath() OVERRIDE; |
43 | 45 |
44 virtual string16 GetVersionKey() OVERRIDE; | 46 virtual string16 GetVersionKey() OVERRIDE; |
45 | 47 |
46 virtual bool CanSetAsDefault() OVERRIDE; | 48 virtual bool CanSetAsDefault() OVERRIDE; |
47 | 49 |
48 virtual int GetIconIndex() OVERRIDE; | |
49 | |
50 virtual bool GetChromeChannel(string16* channel) OVERRIDE; | 50 virtual bool GetChromeChannel(string16* channel) OVERRIDE; |
51 | 51 |
52 virtual bool GetCommandExecuteImplClsid( | 52 virtual bool GetCommandExecuteImplClsid( |
53 string16* handler_class_uuid) OVERRIDE; | 53 string16* handler_class_uuid) OVERRIDE; |
54 | 54 |
55 protected: | 55 protected: |
56 friend class BrowserDistribution; | 56 friend class BrowserDistribution; |
57 | 57 |
58 ChromiumBinariesDistribution(); | 58 ChromiumBinariesDistribution(); |
59 | 59 |
60 BrowserDistribution* browser_distribution_; | 60 BrowserDistribution* browser_distribution_; |
61 | 61 |
62 private: | 62 private: |
63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); | 63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); |
64 }; | 64 }; |
65 | 65 |
66 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | 66 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ |
OLD | NEW |