OLD | NEW |
| (Empty) |
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. | |
6 | |
7 #ifndef CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | |
8 #define CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | |
9 | |
10 #include <memory> | |
11 #include <string> | |
12 | |
13 #include "base/macros.h" | |
14 #include "chrome/installer/util/browser_distribution.h" | |
15 | |
16 class ChromiumBinariesDistribution : public BrowserDistribution { | |
17 public: | |
18 base::string16 GetBrowserProgIdPrefix() override; | |
19 | |
20 base::string16 GetBrowserProgIdDesc() override; | |
21 | |
22 base::string16 GetDisplayName() override; | |
23 | |
24 base::string16 GetShortcutName() override; | |
25 | |
26 int GetIconIndex() override; | |
27 | |
28 base::string16 GetBaseAppName() override; | |
29 | |
30 base::string16 GetBaseAppId() override; | |
31 | |
32 base::string16 GetInstallSubDir() override; | |
33 | |
34 base::string16 GetPublisherName() override; | |
35 | |
36 base::string16 GetAppDescription() override; | |
37 | |
38 base::string16 GetLongAppDescription() override; | |
39 | |
40 std::string GetSafeBrowsingName() override; | |
41 | |
42 base::string16 GetRegistryPath() override; | |
43 | |
44 base::string16 GetUninstallRegPath() override; | |
45 | |
46 DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override; | |
47 | |
48 bool GetChromeChannel(base::string16* channel) override; | |
49 | |
50 base::string16 GetCommandExecuteImplClsid() override; | |
51 | |
52 protected: | |
53 friend class BrowserDistribution; | |
54 | |
55 ChromiumBinariesDistribution(); | |
56 | |
57 explicit ChromiumBinariesDistribution( | |
58 std::unique_ptr<AppRegistrationData> app_reg_data); | |
59 | |
60 BrowserDistribution* browser_distribution_; | |
61 | |
62 private: | |
63 DISALLOW_COPY_AND_ASSIGN(ChromiumBinariesDistribution); | |
64 }; | |
65 | |
66 #endif // CHROME_INSTALLER_UTIL_CHROMIUM_BINARIES_DISTRIBUTION_H_ | |
OLD | NEW |