Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / installer / util / chrome_browser_sxs_operations.cc
blob71798c345b87f4e19c1f8695074056e456b1cb49
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.
5 #include "chrome/installer/util/chrome_browser_sxs_operations.h"
7 #include "base/command_line.h"
8 #include "base/logging.h"
9 #include "chrome/installer/util/util_constants.h"
11 namespace installer {
13 void ChromeBrowserSxSOperations::AppendProductFlags(
14 const std::set<base::string16>& options,
15 base::CommandLine* cmd_line) const {
16 DCHECK(cmd_line);
18 cmd_line->AppendSwitch(switches::kChromeSxS);
19 ChromeBrowserOperations::AppendProductFlags(options, cmd_line);
22 void ChromeBrowserSxSOperations::AppendRenameFlags(
23 const std::set<base::string16>& options,
24 base::CommandLine* cmd_line) const {
25 DCHECK(cmd_line);
27 cmd_line->AppendSwitch(switches::kChromeSxS);
28 ChromeBrowserOperations::AppendRenameFlags(options, cmd_line);
31 } // namespace installer