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 #include "chrome/installer/util/chrome_browser_sxs_operations.h" | 5 #include "chrome/installer/util/chrome_browser_sxs_operations.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "chrome/installer/util/util_constants.h" | 9 #include "chrome/installer/util/util_constants.h" |
10 | 10 |
11 namespace installer { | 11 namespace installer { |
12 | 12 |
13 void ChromeBrowserSxSOperations::AppendProductFlags( | 13 void ChromeBrowserSxSOperations::AppendProductFlags( |
14 const std::set<base::string16>& options, | |
15 base::CommandLine* cmd_line) const { | 14 base::CommandLine* cmd_line) const { |
16 DCHECK(cmd_line); | 15 DCHECK(cmd_line); |
17 | 16 |
18 cmd_line->AppendSwitch(switches::kChromeSxS); | 17 cmd_line->AppendSwitch(switches::kChromeSxS); |
19 ChromeBrowserOperations::AppendProductFlags(options, cmd_line); | 18 ChromeBrowserOperations::AppendProductFlags(cmd_line); |
20 } | 19 } |
21 | 20 |
22 void ChromeBrowserSxSOperations::AppendRenameFlags( | 21 void ChromeBrowserSxSOperations::AppendRenameFlags( |
23 const std::set<base::string16>& options, | |
24 base::CommandLine* cmd_line) const { | 22 base::CommandLine* cmd_line) const { |
25 DCHECK(cmd_line); | 23 DCHECK(cmd_line); |
26 | 24 |
27 cmd_line->AppendSwitch(switches::kChromeSxS); | 25 cmd_line->AppendSwitch(switches::kChromeSxS); |
28 ChromeBrowserOperations::AppendRenameFlags(options, cmd_line); | 26 ChromeBrowserOperations::AppendRenameFlags(cmd_line); |
29 } | 27 } |
30 | 28 |
31 } // namespace installer | 29 } // namespace installer |
OLD | NEW |