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