| 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 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ | |
| 6 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "base/macros.h" | |
| 10 #include "chrome/installer/util/product_operations.h" | |
| 11 | |
| 12 namespace installer { | |
| 13 | |
| 14 // Operations specific to Chrome Frame; see ProductOperations for general info. | |
| 15 class ChromeFrameOperations : public ProductOperations { | |
| 16 public: | |
| 17 ChromeFrameOperations() {} | |
| 18 | |
| 19 void ReadOptions(const MasterPreferences& prefs, | |
| 20 std::set<base::string16>* options) const override; | |
| 21 | |
| 22 void ReadOptions(const base::CommandLine& uninstall_command, | |
| 23 std::set<base::string16>* options) const override; | |
| 24 | |
| 25 void AddKeyFiles(const std::set<base::string16>& options, | |
| 26 std::vector<base::FilePath>* key_files) const override; | |
| 27 | |
| 28 void AddComDllList(const std::set<base::string16>& options, | |
| 29 std::vector<base::FilePath>* com_dll_list) const override; | |
| 30 | |
| 31 void AppendProductFlags(const std::set<base::string16>& options, | |
| 32 base::CommandLine* cmd_line) const override; | |
| 33 | |
| 34 void AppendRenameFlags(const std::set<base::string16>& options, | |
| 35 base::CommandLine* cmd_line) const override; | |
| 36 | |
| 37 bool SetChannelFlags(const std::set<base::string16>& options, | |
| 38 bool set, | |
| 39 ChannelInfo* channel_info) const override; | |
| 40 | |
| 41 bool ShouldCreateUninstallEntry( | |
| 42 const std::set<base::string16>& options) const override; | |
| 43 | |
| 44 void AddDefaultShortcutProperties( | |
| 45 BrowserDistribution* dist, | |
| 46 const base::FilePath& target_exe, | |
| 47 ShellUtil::ShortcutProperties* properties) const override; | |
| 48 | |
| 49 void LaunchUserExperiment(const base::FilePath& setup_path, | |
| 50 const std::set<base::string16>& options, | |
| 51 InstallStatus status, | |
| 52 bool system_level) const override; | |
| 53 | |
| 54 private: | |
| 55 DISALLOW_COPY_AND_ASSIGN(ChromeFrameOperations); | |
| 56 }; | |
| 57 | |
| 58 } // namespace installer | |
| 59 | |
| 60 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ | |
| OLD | NEW |