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