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

Side by Side Diff: chrome/installer/util/google_chrome_distribution_dummy.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: Reupload with --similarity=90 to prevent patch failure in try jobs. 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 dummy implementation of several functions from the 5 // This file defines dummy implementation of several functions from the
6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit 6 // BrowserDistribution class for Google Chrome. These functions allow 64-bit
7 // Windows Chrome binary to build successfully. Since this binary is only used 7 // Windows Chrome binary to build successfully. Since this binary is only used
8 // for Native Client support, most of the install/uninstall functionality is not 8 // for Native Client support, most of the install/uninstall functionality is not
9 // necessary there. 9 // necessary there.
10 10
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 NOTREACHED(); 136 NOTREACHED();
137 return false; 137 return false;
138 } 138 }
139 139
140 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install, 140 void GoogleChromeDistribution::UpdateInstallStatus(bool system_install,
141 installer::ArchiveType archive_type, 141 installer::ArchiveType archive_type,
142 installer::InstallStatus install_status) { 142 installer::InstallStatus install_status) {
143 NOTREACHED(); 143 NOTREACHED();
144 } 144 }
145 145
146 bool GoogleChromeDistribution::GetExperimentDetails( 146 bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
147 UserExperiment* experiment, int flavor) {
148 NOTREACHED(); 147 NOTREACHED();
149 return false; 148 return false;
150 } 149 }
151 150
152 void GoogleChromeDistribution::LaunchUserExperiment(
153 const base::FilePath& setup_path, installer::InstallStatus status,
154 const Version& version, const installer::Product& product,
155 bool system_level) {
156 NOTREACHED();
157 }
158
159 void GoogleChromeDistribution::InactiveUserToastExperiment(int flavor,
160 const string16& experiment_group,
161 const installer::Product& installation,
162 const base::FilePath& application_path) {
163 NOTREACHED();
164 }
165
166 bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile( 151 bool GoogleChromeDistribution::ExtractUninstallMetricsFromFile(
167 const base::FilePath& file_path, string16* uninstall_metrics_string) { 152 const base::FilePath& file_path, string16* uninstall_metrics_string) {
168 NOTREACHED(); 153 NOTREACHED();
169 return false; 154 return false;
170 } 155 }
171 156
172 bool GoogleChromeDistribution::ExtractUninstallMetrics( 157 bool GoogleChromeDistribution::ExtractUninstallMetrics(
173 const DictionaryValue& root, string16* uninstall_metrics_string) { 158 const DictionaryValue& root, string16* uninstall_metrics_string) {
174 NOTREACHED(); 159 NOTREACHED();
175 return false; 160 return false;
176 } 161 }
177 162
178 bool GoogleChromeDistribution::BuildUninstallMetricsString( 163 bool GoogleChromeDistribution::BuildUninstallMetricsString(
179 const DictionaryValue* uninstall_metrics_dict, string16* metrics) { 164 const DictionaryValue* uninstall_metrics_dict, string16* metrics) {
180 NOTREACHED(); 165 NOTREACHED();
181 return false; 166 return false;
182 } 167 }
183
184 bool GoogleChromeDistribution::ShouldSetExperimentLabels() {
185 NOTREACHED();
186 return false;
187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698