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

Side by Side Diff: chrome/installer/util/browser_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: Updating .gypi to fix compile error. Created 7 years, 10 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 a class that contains various method related to branding. 5 // This file defines a class that contains various method related to branding.
6 // It provides only default implementations of these methods. Usually to add 6 // It provides only default implementations of these methods. Usually to add
7 // specific branding, we will need to extend this class with a custom 7 // specific branding, we will need to extend this class with a custom
8 // implementation. 8 // implementation.
9 9
10 #include "chrome/installer/util/browser_distribution.h" 10 #include "chrome/installer/util/browser_distribution.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 bool BrowserDistribution::AppHostIsSupported() { 256 bool BrowserDistribution::AppHostIsSupported() {
257 return false; 257 return false;
258 } 258 }
259 259
260 void BrowserDistribution::UpdateInstallStatus(bool system_install, 260 void BrowserDistribution::UpdateInstallStatus(bool system_install,
261 installer::ArchiveType archive_type, 261 installer::ArchiveType archive_type,
262 installer::InstallStatus install_status) { 262 installer::InstallStatus install_status) {
263 } 263 }
264 264
265 bool BrowserDistribution::GetExperimentDetails(
266 UserExperiment* experiment, int flavor) {
267 return false;
268 }
269
270 void BrowserDistribution::LaunchUserExperiment(
271 const base::FilePath& setup_path, installer::InstallStatus status,
272 const Version& version, const installer::Product& product,
273 bool system_level) {
274 }
275
276 bool BrowserDistribution::ShouldSetExperimentLabels() { 265 bool BrowserDistribution::ShouldSetExperimentLabels() {
277 return false; 266 return false;
278 } 267 }
279
280 void BrowserDistribution::InactiveUserToastExperiment(int flavor,
281 const string16& experiment_group,
282 const installer::Product& installation,
283 const base::FilePath& application_path) {
284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698