diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 22:38:12 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-19 22:38:12 +0000 |
commit | 529272291081f31a853b4f504eecf17d65b263d8 (patch) | |
tree | 7cb41b53fef4b1f7d978db8c148bef6b9fad447a /chrome/installer/gcapi | |
parent | 4a8adfa0f2cc19d7991c45459c7760ae9a78569e (diff) | |
download | chromium_src-529272291081f31a853b4f504eecf17d65b263d8.zip chromium_src-529272291081f31a853b4f504eecf17d65b263d8.tar.gz chromium_src-529272291081f31a853b4f504eecf17d65b263d8.tar.bz2 |
Makes omaha experiment label utility functions cross-platform.
A number of utility methods needed to build experiment strings to pass to omaha are currently windows-only. This CL moves those functions into a location where they can be used on all platforms.
BUG=222133
TEST=No visible impact
Review URL: https://chromiumcodereview.appspot.com/12693006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189139 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/gcapi')
-rw-r--r-- | chrome/installer/gcapi/gcapi_omaha_experiment.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/gcapi/gcapi_omaha_experiment.cc b/chrome/installer/gcapi/gcapi_omaha_experiment.cc index 0c984c6..cc999ae 100644 --- a/chrome/installer/gcapi/gcapi_omaha_experiment.cc +++ b/chrome/installer/gcapi/gcapi_omaha_experiment.cc @@ -8,6 +8,7 @@ #include "base/stringprintf.h" #include "base/time.h" #include "chrome/installer/gcapi/gcapi.h" +#include "chrome/installer/util/google_update_experiment_util.h" #include "chrome/installer/util/google_update_settings.h" using base::Time; @@ -40,8 +41,7 @@ bool SetReactivationExperimentLabels(const wchar_t* brand_code, L"reacbrand=%ls_%d|%ls", brand_code, week_number, - GoogleUpdateSettings::BuildExperimentDateString() - .c_str()); + installer::BuildExperimentDateString().c_str()); return GoogleUpdateSettings::SetExperimentLabels( shell_mode == GCAPI_INVOKED_UAC_ELEVATION, |