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

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

Issue 15255004: Refactor of BrowserDistribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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
« no previous file with comments | « chrome/installer/util/prebuild/create_string_rc.py ('k') | chrome/installer/util/shell_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/product.h" 5 #include "chrome/installer/util/product.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 ShellUtil::ShortcutProperties* properties) const { 161 ShellUtil::ShortcutProperties* properties) const {
162 return operations_->AddDefaultShortcutProperties( 162 return operations_->AddDefaultShortcutProperties(
163 distribution_, target_exe, properties); 163 distribution_, target_exe, properties);
164 } 164 }
165 165
166 void Product::LaunchUserExperiment(const base::FilePath& setup_path, 166 void Product::LaunchUserExperiment(const base::FilePath& setup_path,
167 InstallStatus status, 167 InstallStatus status,
168 bool system_level) const { 168 bool system_level) const {
169 if (distribution_->HasUserExperiments()) { 169 if (distribution_->HasUserExperiments()) {
170 VLOG(1) << "LaunchUserExperiment status: " << status << " product: " 170 VLOG(1) << "LaunchUserExperiment status: " << status << " product: "
171 << distribution_->GetAppShortCutName() 171 << distribution_->GetDisplayName()
172 << " system_level: " << system_level; 172 << " system_level: " << system_level;
173 operations_->LaunchUserExperiment( 173 operations_->LaunchUserExperiment(
174 setup_path, options_, status, system_level); 174 setup_path, options_, status, system_level);
175 } 175 }
176 } 176 }
177 177
178 } // namespace installer 178 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/prebuild/create_string_rc.py ('k') | chrome/installer/util/shell_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698