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

Side by Side Diff: chrome/installer/util/google_chrome_sxs_distribution.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: Sync. 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 // This file defines implementation of GoogleChromeSxSDistribution. 5 // This file defines implementation of GoogleChromeSxSDistribution.
6 6
7 #include "chrome/installer/util/google_chrome_sxs_distribution.h" 7 #include "chrome/installer/util/google_chrome_sxs_distribution.h"
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 69
70 bool GoogleChromeSxSDistribution::AppHostIsSupported() { 70 bool GoogleChromeSxSDistribution::AppHostIsSupported() {
71 return false; 71 return false;
72 } 72 }
73 73
74 bool GoogleChromeSxSDistribution::ShouldSetExperimentLabels() { 74 bool GoogleChromeSxSDistribution::ShouldSetExperimentLabels() {
75 return true; 75 return true;
76 } 76 }
77 77
78 bool GoogleChromeSxSDistribution::HasUserExperiments() {
79 return true;
80 }
81
78 string16 GoogleChromeSxSDistribution::ChannelName() { 82 string16 GoogleChromeSxSDistribution::ChannelName() {
79 return kChannelName; 83 return kChannelName;
80 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698