summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/chrome_browser_sxs_operations.cc
blob: 71798c345b87f4e19c1f8695074056e456b1cb49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/installer/util/chrome_browser_sxs_operations.h"

#include "base/command_line.h"
#include "base/logging.h"
#include "chrome/installer/util/util_constants.h"

namespace installer {

void ChromeBrowserSxSOperations::AppendProductFlags(
    const std::set<base::string16>& options,
    base::CommandLine* cmd_line) const {
  DCHECK(cmd_line);

  cmd_line->AppendSwitch(switches::kChromeSxS);
  ChromeBrowserOperations::AppendProductFlags(options, cmd_line);
}

void ChromeBrowserSxSOperations::AppendRenameFlags(
    const std::set<base::string16>& options,
    base::CommandLine* cmd_line) const {
  DCHECK(cmd_line);

  cmd_line->AppendSwitch(switches::kChromeSxS);
  ChromeBrowserOperations::AppendRenameFlags(options, cmd_line);
}

}  // namespace installer