| 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 #ifndef CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ |
| 6 #define CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ | 6 #define CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "chrome/installer/util/product_operations.h" | 10 #include "chrome/installer/util/product_operations.h" |
| 11 | 11 |
| 12 namespace installer { | 12 namespace installer { |
| 13 | 13 |
| 14 // Operations specific to the Chrome Binaries; see ProductOperations for general | 14 // Operations specific to the Chrome Binaries; see ProductOperations for general |
| 15 // info. | 15 // info. |
| 16 class ChromeBinariesOperations : public ProductOperations { | 16 class ChromeBinariesOperations : public ProductOperations { |
| 17 public: | 17 public: |
| 18 ChromeBinariesOperations() {} | 18 ChromeBinariesOperations() {} |
| 19 | 19 |
| 20 void ReadOptions(const MasterPreferences& prefs, | 20 void ReadOptions(const MasterPreferences& prefs, |
| 21 std::set<base::string16>* options) const override; | 21 std::set<base::string16>* options) const override; |
| 22 | 22 |
| 23 void ReadOptions(const base::CommandLine& uninstall_command, | 23 void ReadOptions(const base::CommandLine& uninstall_command, |
| 24 std::set<base::string16>* options) const override; | 24 std::set<base::string16>* options) const override; |
| 25 | 25 |
| 26 void AddKeyFiles(const std::set<base::string16>& options, | 26 void AddKeyFiles(const std::set<base::string16>& options, |
| 27 std::vector<base::FilePath>* key_files) const override; | 27 std::vector<base::FilePath>* key_files) const override; |
| 28 | 28 |
| 29 void AddComDllList(const std::set<base::string16>& options, | |
| 30 std::vector<base::FilePath>* com_dll_list) const override; | |
| 31 | |
| 32 void AppendProductFlags(const std::set<base::string16>& options, | 29 void AppendProductFlags(const std::set<base::string16>& options, |
| 33 base::CommandLine* cmd_line) const override; | 30 base::CommandLine* cmd_line) const override; |
| 34 | 31 |
| 35 void AppendRenameFlags(const std::set<base::string16>& options, | 32 void AppendRenameFlags(const std::set<base::string16>& options, |
| 36 base::CommandLine* cmd_line) const override; | 33 base::CommandLine* cmd_line) const override; |
| 37 | 34 |
| 38 bool SetChannelFlags(const std::set<base::string16>& options, | 35 bool SetChannelFlags(const std::set<base::string16>& options, |
| 39 bool set, | 36 bool set, |
| 40 ChannelInfo* channel_info) const override; | 37 ChannelInfo* channel_info) const override; |
| 41 | 38 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 52 InstallStatus status, | 49 InstallStatus status, |
| 53 bool system_level) const override; | 50 bool system_level) const override; |
| 54 | 51 |
| 55 private: | 52 private: |
| 56 DISALLOW_COPY_AND_ASSIGN(ChromeBinariesOperations); | 53 DISALLOW_COPY_AND_ASSIGN(ChromeBinariesOperations); |
| 57 }; | 54 }; |
| 58 | 55 |
| 59 } // namespace installer | 56 } // namespace installer |
| 60 | 57 |
| 61 #endif // CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ | 58 #endif // CHROME_INSTALLER_UTIL_CHROME_BINARIES_OPERATIONS_H_ |
| OLD | NEW |