OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_OPERATIONS_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ |
6 #define CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ | 6 #define CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "chrome/installer/util/product_operations.h" | 10 #include "chrome/installer/util/product_operations.h" |
11 | 11 |
12 namespace installer { | 12 namespace installer { |
13 | 13 |
14 // Operations specific to Chrome; see ProductOperations for general info. | 14 // Operations specific to Chrome; see ProductOperations for general info. |
15 class ChromeBrowserOperations : public ProductOperations { | 15 class ChromeBrowserOperations : public ProductOperations { |
16 public: | 16 public: |
17 ChromeBrowserOperations() {} | 17 ChromeBrowserOperations() {} |
18 | 18 |
19 void ReadOptions(const MasterPreferences& prefs, | 19 void ReadOptions(const MasterPreferences& prefs, |
20 std::set<base::string16>* options) const override; | 20 std::set<base::string16>* options) const override; |
21 | 21 |
22 void ReadOptions(const base::CommandLine& uninstall_command, | 22 void ReadOptions(const base::CommandLine& uninstall_command, |
23 std::set<base::string16>* options) const override; | 23 std::set<base::string16>* options) const override; |
24 | 24 |
25 void AddKeyFiles(const std::set<base::string16>& options, | 25 void AddKeyFiles(const std::set<base::string16>& options, |
26 std::vector<base::FilePath>* key_files) const override; | 26 std::vector<base::FilePath>* key_files) const override; |
27 | 27 |
28 void AddComDllList(const std::set<base::string16>& options, | |
29 std::vector<base::FilePath>* com_dll_list) const override; | |
30 | |
31 void AppendProductFlags(const std::set<base::string16>& options, | 28 void AppendProductFlags(const std::set<base::string16>& options, |
32 base::CommandLine* cmd_line) const override; | 29 base::CommandLine* cmd_line) const override; |
33 | 30 |
34 void AppendRenameFlags(const std::set<base::string16>& options, | 31 void AppendRenameFlags(const std::set<base::string16>& options, |
35 base::CommandLine* cmd_line) const override; | 32 base::CommandLine* cmd_line) const override; |
36 | 33 |
37 bool SetChannelFlags(const std::set<base::string16>& options, | 34 bool SetChannelFlags(const std::set<base::string16>& options, |
38 bool set, | 35 bool set, |
39 ChannelInfo* channel_info) const override; | 36 ChannelInfo* channel_info) const override; |
40 | 37 |
(...skipping 10 matching lines...) Expand all Loading... |
51 InstallStatus status, | 48 InstallStatus status, |
52 bool system_level) const override; | 49 bool system_level) const override; |
53 | 50 |
54 private: | 51 private: |
55 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserOperations); | 52 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserOperations); |
56 }; | 53 }; |
57 | 54 |
58 } // namespace installer | 55 } // namespace installer |
59 | 56 |
60 #endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ | 57 #endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_OPERATIONS_H_ |
OLD | NEW |