Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: chrome/installer/util/chrome_browser_sxs_operations.cc

Issue 12321061: Pulling user experiment code from BrowserDistribution to a new class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Making user experiments unavailable for Chromium. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
(...skipping 10 matching lines...) Expand all
21 21
22 void ChromeBrowserSxSOperations::AppendRenameFlags( 22 void ChromeBrowserSxSOperations::AppendRenameFlags(
23 const std::set<std::wstring>& options, 23 const std::set<std::wstring>& options,
24 CommandLine* cmd_line) const { 24 CommandLine* cmd_line) const {
25 DCHECK(cmd_line); 25 DCHECK(cmd_line);
26 26
27 cmd_line->AppendSwitch(switches::kChromeSxS); 27 cmd_line->AppendSwitch(switches::kChromeSxS);
28 ChromeBrowserOperations::AppendRenameFlags(options, cmd_line); 28 ChromeBrowserOperations::AppendRenameFlags(options, cmd_line);
29 } 29 }
30 30
31 bool ChromeBrowserSxSOperations::ShouldLaunchUserExperiment() const {
32 return true;
33 }
34
31 } // namespace installer 35 } // namespace installer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698