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 extends the browser distribution with a specific implementation | |
6 // for Chrome Frame. | |
7 | |
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | |
9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | |
10 | |
11 #include "chrome/installer/util/browser_distribution.h" | |
12 #include "chrome/installer/util/util_constants.h" | |
13 | |
14 class ChromeFrameDistribution : public BrowserDistribution { | |
15 public: | |
16 base::string16 GetBrowserProgIdPrefix() override; | |
17 | |
18 base::string16 GetBrowserProgIdDesc() override; | |
19 | |
20 base::string16 GetDisplayName() override; | |
21 | |
22 base::string16 GetShortcutName() override; | |
23 | |
24 int GetIconIndex() override; | |
25 | |
26 base::string16 GetBaseAppName() override; | |
27 | |
28 base::string16 GetInstallSubDir() override; | |
29 | |
30 base::string16 GetPublisherName() override; | |
31 | |
32 base::string16 GetAppDescription() override; | |
33 | |
34 base::string16 GetLongAppDescription() override; | |
35 | |
36 std::string GetSafeBrowsingName() override; | |
37 | |
38 base::string16 GetUninstallRegPath() override; | |
39 | |
40 base::string16 GetIconFilename() override; | |
41 | |
42 DefaultBrowserControlPolicy GetDefaultBrowserControlPolicy() override; | |
43 | |
44 bool CanCreateDesktopShortcuts() override; | |
45 | |
46 base::string16 GetCommandExecuteImplClsid() override; | |
47 | |
48 void UpdateInstallStatus(bool system_install, | |
49 installer::ArchiveType archive_type, | |
50 installer::InstallStatus install_status) override; | |
51 | |
52 protected: | |
53 friend class BrowserDistribution; | |
54 | |
55 // Disallow construction from non-friends. | |
56 ChromeFrameDistribution(); | |
57 }; | |
58 | |
59 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | |
OLD | NEW |