OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 extends the browser distribution with a specific implementation | 5 // This file extends the browser distribution with a specific implementation |
6 // for Chrome Frame. | 6 // for Chrome Frame. |
7 | 7 |
8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 9 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
10 #pragma once | 10 #pragma once |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual std::wstring GetUninstallRegPath(); | 48 virtual std::wstring GetUninstallRegPath(); |
49 | 49 |
50 virtual std::wstring GetVersionKey(); | 50 virtual std::wstring GetVersionKey(); |
51 | 51 |
52 virtual bool CanSetAsDefault(); | 52 virtual bool CanSetAsDefault(); |
53 | 53 |
54 virtual void UpdateInstallStatus(bool system_install, | 54 virtual void UpdateInstallStatus(bool system_install, |
55 bool incremental_install, bool multi_install, | 55 bool incremental_install, bool multi_install, |
56 installer::InstallStatus install_status); | 56 installer::InstallStatus install_status); |
57 | 57 |
58 virtual std::vector<FilePath> GetKeyFiles(); | |
59 | |
60 virtual std::vector<FilePath> GetComDllList(); | |
61 | |
62 virtual void AppendUninstallCommandLineFlags(CommandLine* cmd_line); | |
63 | |
64 virtual bool ShouldCreateUninstallEntry(); | |
65 | |
66 virtual bool SetChannelFlags(bool set, installer::ChannelInfo* channel_info); | |
67 | |
68 protected: | 58 protected: |
69 friend class BrowserDistribution; | 59 friend class BrowserDistribution; |
70 | 60 |
71 // Disallow construction from non-friends. | 61 // Disallow construction from non-friends. |
72 explicit ChromeFrameDistribution( | 62 ChromeFrameDistribution(); |
73 const installer::MasterPreferences& prefs); | |
74 | |
75 // Determines whether this Chrome Frame distribution is being used to work | |
76 // with CEEE bits as well. | |
77 bool ceee_; | |
78 | |
79 // True when Chrome Frame is installed in ready mode (users have to opt in). | |
80 bool ready_mode_; | |
81 }; | 63 }; |
82 | 64 |
83 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ | 65 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_DISTRIBUTION_H_ |
OLD | NEW |