OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_INSTALLER_UTIL_PRODUCT_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_PRODUCT_H_ |
6 #define CHROME_INSTALLER_UTIL_PRODUCT_H_ | 6 #define CHROME_INSTALLER_UTIL_PRODUCT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // Returns true if setup should create an entry in the Add/Remove list | 95 // Returns true if setup should create an entry in the Add/Remove list |
96 // of installed applications. | 96 // of installed applications. |
97 bool ShouldCreateUninstallEntry() const; | 97 bool ShouldCreateUninstallEntry() const; |
98 | 98 |
99 // See ProductOperations::AddKeyFiles. | 99 // See ProductOperations::AddKeyFiles. |
100 void AddKeyFiles(std::vector<FilePath>* key_files) const; | 100 void AddKeyFiles(std::vector<FilePath>* key_files) const; |
101 | 101 |
102 // See ProductOperations::AddComDllList. | 102 // See ProductOperations::AddComDllList. |
103 void AddComDllList(std::vector<FilePath>* com_dll_list) const; | 103 void AddComDllList(std::vector<FilePath>* com_dll_list) const; |
104 | 104 |
105 // See ProductOperations::AppendProductFlags. | 105 // See ProductOperations::AppendUninstallFlags. |
106 void AppendProductFlags(CommandLine* command_line) const; | 106 void AppendUninstallFlags(CommandLine* command_line) const; |
| 107 |
| 108 // See ProductOperations::AppendRenameFlags. |
| 109 void AppendRenameFlags(CommandLine* command_line) const; |
107 | 110 |
108 // See Productoperations::SetChannelFlags. | 111 // See Productoperations::SetChannelFlags. |
109 bool SetChannelFlags(bool set, ChannelInfo* channel_info) const; | 112 bool SetChannelFlags(bool set, ChannelInfo* channel_info) const; |
110 | 113 |
111 protected: | 114 protected: |
112 enum CacheStateFlags { | 115 enum CacheStateFlags { |
113 MSI_STATE = 0x01 | 116 MSI_STATE = 0x01 |
114 }; | 117 }; |
115 | 118 |
116 BrowserDistribution* distribution_; | 119 BrowserDistribution* distribution_; |
117 scoped_ptr<ProductOperations> operations_; | 120 scoped_ptr<ProductOperations> operations_; |
118 std::set<std::wstring> options_; | 121 std::set<std::wstring> options_; |
119 | 122 |
120 private: | 123 private: |
121 DISALLOW_COPY_AND_ASSIGN(Product); | 124 DISALLOW_COPY_AND_ASSIGN(Product); |
122 }; | 125 }; |
123 | 126 |
124 } // namespace installer | 127 } // namespace installer |
125 | 128 |
126 #endif // CHROME_INSTALLER_UTIL_PRODUCT_H_ | 129 #endif // CHROME_INSTALLER_UTIL_PRODUCT_H_ |
OLD | NEW |