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/google_update_settings.h

Issue 11280067: Refactor SetOmahaExperimentLabel out of gcpai and into install_util. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: grt additional comments Created 7 years, 11 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 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 // Returns product data for Google Update. (Equivalent to calling 242 // Returns product data for Google Update. (Equivalent to calling
243 // GetUpdateDetailForAppGuid with the app guid for Google Update itself.) 243 // GetUpdateDetailForAppGuid with the app guid for Google Update itself.)
244 static bool GetUpdateDetailForGoogleUpdate(bool system_install, 244 static bool GetUpdateDetailForGoogleUpdate(bool system_install,
245 ProductData* data); 245 ProductData* data);
246 246
247 // Returns product data for the current product. (Equivalent to calling 247 // Returns product data for the current product. (Equivalent to calling
248 // GetUpdateDetailForApp with the app guid stored in BrowserDistribution.) 248 // GetUpdateDetailForApp with the app guid stored in BrowserDistribution.)
249 static bool GetUpdateDetail(bool system_install, ProductData* data); 249 static bool GetUpdateDetail(bool system_install, ProductData* data);
250 250
251 // Sets |experiment_labels| as the Omaha experiment_labels value in the
252 // ClientState key for this Chrome product, if appropriate. If
253 // |experiment_labels| is empty, this will delete the value instead. This will
254 // return true if the label was successfully set (or deleted), false otherwise
255 // (even if the label does not need to be set for this particular distribution
256 // type).
257 static bool SetExperimentLabels(bool system_install,
258 const string16& experiment_labels);
259
251 private: 260 private:
252 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); 261 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings);
253 }; 262 };
254 263
255 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 264 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_update_constants.cc ('k') | chrome/installer/util/google_update_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698