| 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_CHROME_FRAME_OPERATIONS_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ |
| 6 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ | 6 #define CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 virtual void ReadOptions(const CommandLine& uninstall_command, | 28 virtual void ReadOptions(const CommandLine& uninstall_command, |
| 29 std::set<std::wstring>* options) const OVERRIDE; | 29 std::set<std::wstring>* options) const OVERRIDE; |
| 30 | 30 |
| 31 virtual void AddKeyFiles(const std::set<std::wstring>& options, | 31 virtual void AddKeyFiles(const std::set<std::wstring>& options, |
| 32 std::vector<FilePath>* key_files) const OVERRIDE; | 32 std::vector<FilePath>* key_files) const OVERRIDE; |
| 33 | 33 |
| 34 virtual void AddComDllList( | 34 virtual void AddComDllList( |
| 35 const std::set<std::wstring>& options, | 35 const std::set<std::wstring>& options, |
| 36 std::vector<FilePath>* com_dll_list) const OVERRIDE; | 36 std::vector<FilePath>* com_dll_list) const OVERRIDE; |
| 37 | 37 |
| 38 virtual void AppendProductFlags( | 38 virtual void AppendUninstallFlags( |
| 39 const std::set<std::wstring>& options, | 39 const std::set<std::wstring>& options, |
| 40 CommandLine* uninstall_command) const OVERRIDE; | 40 CommandLine* cmd_line) const OVERRIDE; |
| 41 |
| 42 virtual void AppendRenameFlags( |
| 43 const std::set<std::wstring>& options, |
| 44 CommandLine* cmd_line) const OVERRIDE; |
| 41 | 45 |
| 42 virtual bool SetChannelFlags(const std::set<std::wstring>& options, | 46 virtual bool SetChannelFlags(const std::set<std::wstring>& options, |
| 43 bool set, | 47 bool set, |
| 44 ChannelInfo* channel_info) const OVERRIDE; | 48 ChannelInfo* channel_info) const OVERRIDE; |
| 45 | 49 |
| 46 virtual bool ShouldCreateUninstallEntry( | 50 virtual bool ShouldCreateUninstallEntry( |
| 47 const std::set<std::wstring>& options) const OVERRIDE; | 51 const std::set<std::wstring>& options) const OVERRIDE; |
| 48 | 52 |
| 49 protected: | 53 protected: |
| 50 void NormalizeOptions(std::set<std::wstring>* options) const; | 54 void NormalizeOptions(std::set<std::wstring>* options) const; |
| 51 | 55 |
| 52 private: | 56 private: |
| 53 DISALLOW_COPY_AND_ASSIGN(ChromeFrameOperations); | 57 DISALLOW_COPY_AND_ASSIGN(ChromeFrameOperations); |
| 54 }; | 58 }; |
| 55 | 59 |
| 56 } // namespace installer | 60 } // namespace installer |
| 57 | 61 |
| 58 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ | 62 #endif // CHROME_INSTALLER_UTIL_CHROME_FRAME_OPERATIONS_H_ |
| OLD | NEW |