| Index: components/variations/variations_experiment_util.cc
|
| diff --git a/chrome/installer/util/google_update_experiment_util.cc b/components/variations/variations_experiment_util.cc
|
| similarity index 90%
|
| rename from chrome/installer/util/google_update_experiment_util.cc
|
| rename to components/variations/variations_experiment_util.cc
|
| index 2bff96f54847750f6f539a838539fe383dea9b7a..569a11ef7d477e02c8c25e5e1fda9da414b62683 100644
|
| --- a/chrome/installer/util/google_update_experiment_util.cc
|
| +++ b/components/variations/variations_experiment_util.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/installer/util/google_update_experiment_util.h"
|
| +#include "components/variations/variations_experiment_util.h"
|
|
|
| #include <vector>
|
|
|
| @@ -11,7 +11,7 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/time/time.h"
|
|
|
| -namespace google_update {
|
| +namespace variations {
|
|
|
| #if defined(OS_WIN)
|
| const wchar_t kExperimentLabels[] = L"experiment_labels";
|
| @@ -19,10 +19,6 @@ const wchar_t kExperimentLabels[] = L"experiment_labels";
|
|
|
| const base::char16 kExperimentLabelSeparator = ';';
|
|
|
| -} // namespace google_update
|
| -
|
| -namespace installer {
|
| -
|
| namespace {
|
|
|
| const char* const kDays[] =
|
| @@ -32,7 +28,7 @@ const char* const kMonths[] =
|
| { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep",
|
| "Oct", "Nov", "Dec"};
|
|
|
| -}
|
| +} // namespace
|
|
|
| base::string16 BuildExperimentDateString(const base::Time& current_time) {
|
| // The Google Update experiment_labels timestamp format is:
|
| @@ -61,5 +57,4 @@ base::string16 BuildExperimentDateString(const base::Time& current_time) {
|
| then.second));
|
| }
|
|
|
| -} // namespace installer
|
| -
|
| +} // namespace variations
|
|
|