Chromium Code Reviews| 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_APP_HOST_OPERATIONS_H_ | |
| 6 #define CHROME_INSTALLER_UTIL_CHROME_APP_HOST_OPERATIONS_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <set> | |
| 10 #include <string> | |
| 11 #include <vector> | |
| 12 | |
| 13 #include "base/basictypes.h" | |
| 14 #include "base/file_path.h" | |
| 15 #include "base/compiler_specific.h" | |
|
tommi (sloooow) - chröme
2012/07/12 08:11:31
fix include order
erikwright (departed)
2012/07/16 20:13:11
Done.
| |
| 16 #include "chrome/installer/util/product_operations.h" | |
| 17 | |
| 18 namespace installer { | |
| 19 | |
| 20 // Operations specific to Chrome App Host; see ProductOperations for general | |
| 21 // info. | |
| 22 class ChromeAppHostOperations : public ProductOperations { | |
| 23 public: | |
| 24 ChromeAppHostOperations() {} | |
| 25 | |
| 26 virtual void ReadOptions(const MasterPreferences& prefs, | |
| 27 std::set<std::wstring>* options) const OVERRIDE; | |
| 28 | |
| 29 virtual void ReadOptions(const CommandLine& uninstall_command, | |
| 30 std::set<std::wstring>* options) const OVERRIDE; | |
| 31 | |
| 32 virtual void AddKeyFiles(const std::set<std::wstring>& options, | |
| 33 std::vector<FilePath>* key_files) const OVERRIDE; | |
| 34 | |
| 35 virtual void AddComDllList( | |
| 36 const std::set<std::wstring>& options, | |
| 37 std::vector<FilePath>* com_dll_list) const OVERRIDE; | |
| 38 | |
| 39 virtual void AppendProductFlags( | |
| 40 const std::set<std::wstring>& options, | |
| 41 CommandLine* cmd_line) const OVERRIDE; | |
| 42 | |
| 43 virtual void AppendRenameFlags( | |
| 44 const std::set<std::wstring>& options, | |
| 45 CommandLine* cmd_line) const OVERRIDE; | |
| 46 | |
| 47 virtual bool SetChannelFlags(const std::set<std::wstring>& options, | |
| 48 bool set, | |
| 49 ChannelInfo* channel_info) const OVERRIDE; | |
| 50 | |
| 51 virtual bool ShouldCreateUninstallEntry( | |
| 52 const std::set<std::wstring>& options) const OVERRIDE; | |
| 53 | |
| 54 private: | |
| 55 DISALLOW_COPY_AND_ASSIGN(ChromeAppHostOperations); | |
| 56 }; | |
| 57 | |
| 58 } // namespace installer | |
| 59 | |
| 60 #endif // CHROME_INSTALLER_UTIL_CHROME_APP_HOST_OPERATIONS_H_ | |
| OLD | NEW |