OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_SXS_OPERATIONS_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_CHROME_BROWSER_SXS_OPERATIONS_H_ |
6 #define CHROME_INSTALLER_UTIL_CHROME_BROWSER_SXS_OPERATIONS_H_ | 6 #define CHROME_INSTALLER_UTIL_CHROME_BROWSER_SXS_OPERATIONS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "chrome/installer/util/chrome_browser_operations.h" | 14 #include "chrome/installer/util/chrome_browser_operations.h" |
15 | 15 |
16 namespace installer { | 16 namespace installer { |
17 | 17 |
18 // Operations specific to Chrome SxS; see ProductOperations for general info. | 18 // Operations specific to Chrome SxS; see ProductOperations for general info. |
19 class ChromeBrowserSxSOperations : public ChromeBrowserOperations { | 19 class ChromeBrowserSxSOperations : public ChromeBrowserOperations { |
20 public: | 20 public: |
21 ChromeBrowserSxSOperations() {} | 21 ChromeBrowserSxSOperations() {} |
22 | 22 |
23 virtual void AppendProductFlags( | 23 virtual void AppendUninstallFlags( |
24 const std::set<std::wstring>& options, | 24 const std::set<std::wstring>& options, |
25 CommandLine* uninstall_command) const OVERRIDE; | 25 CommandLine* cmd_line) const OVERRIDE; |
| 26 |
| 27 virtual void AppendRenameFlags( |
| 28 const std::set<std::wstring>& options, |
| 29 CommandLine* cmd_line) const OVERRIDE; |
26 | 30 |
27 private: | 31 private: |
28 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserSxSOperations); | 32 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserSxSOperations); |
29 }; | 33 }; |
30 | 34 |
31 } // namespace installer | 35 } // namespace installer |
32 | 36 |
33 #endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_SXS_OPERATIONS_H_ | 37 #endif // CHROME_INSTALLER_UTIL_CHROME_BROWSER_SXS_OPERATIONS_H_ |
OLD | NEW |