OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ |
| 6 #define CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <set> |
| 10 #include <string> |
| 11 #include <vector> |
| 12 |
| 13 #include "base/basictypes.h" |
| 14 #include "base/compiler_specific.h" |
| 15 #include "chrome/installer/util/product_operations.h" |
| 16 |
| 17 namespace installer { |
| 18 |
| 19 class ChromeBrowserOperations : public ProductOperations { |
| 20 public: |
| 21 ChromeBrowserOperations() {} |
| 22 |
| 23 virtual void ReadOptions(const MasterPreferences& prefs, |
| 24 std::set<std::wstring>* options) OVERRIDE; |
| 25 |
| 26 virtual void ReadOptions(const CommandLine& uninstall_command, |
| 27 std::set<std::wstring>* options) OVERRIDE; |
| 28 |
| 29 virtual void AddKeyFiles(const std::set<std::wstring>& options, |
| 30 std::vector<FilePath>* key_files) OVERRIDE; |
| 31 |
| 32 virtual void AddComDllList(const std::set<std::wstring>& options, |
| 33 std::vector<FilePath>* com_dll_list) OVERRIDE; |
| 34 |
| 35 virtual void AppendProductFlags( |
| 36 const std::set<std::wstring>& options, |
| 37 CommandLine* uninstall_command) OVERRIDE; |
| 38 |
| 39 virtual bool SetChannelFlags(const std::set<std::wstring>& options, |
| 40 bool set, |
| 41 ChannelInfo* channel_info) const OVERRIDE; |
| 42 |
| 43 virtual bool ShouldCreateUninstallEntry( |
| 44 const std::set<std::wstring>& options) const OVERRIDE; |
| 45 |
| 46 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserOperations); |
| 48 }; |
| 49 |
| 50 } // namespace installer |
| 51 |
| 52 #endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ |
OLD | NEW |