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

Side by Side Diff: chrome/installer/util/chrome_browser_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: Undoing ...IfRequired() suffix; using in BrowserDistribution and Product for dispatching. 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_operations.h" 5 #include "chrome/installer/util/chrome_browser_operations.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 bool is_per_user_install = 129 bool is_per_user_install =
130 InstallUtil::IsPerUserInstall(target_exe.value().c_str()); 130 InstallUtil::IsPerUserInstall(target_exe.value().c_str());
131 properties->set_app_id( 131 properties->set_app_id(
132 ShellUtil::GetBrowserModelId(dist, is_per_user_install)); 132 ShellUtil::GetBrowserModelId(dist, is_per_user_install));
133 } 133 }
134 134
135 if (!properties->has_description()) 135 if (!properties->has_description())
136 properties->set_description(dist->GetAppDescription()); 136 properties->set_description(dist->GetAppDescription());
137 } 137 }
138 138
139 bool ChromeBrowserOperations::ShouldLaunchUserExperiment() const {
140 return true;
141 }
142
139 } // namespace installer 143 } // namespace installer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698