1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_VARIATIONS_VARIATIONS_EXPERIMENT_UTIL_H_
6 #define COMPONENTS_VARIATIONS_VARIATIONS_EXPERIMENT_UTIL_H_
8 #include "base/strings/string16.h"
14 namespace variations
{
16 // The separator used to separate items in experiment labels.
17 extern const base::char16 kExperimentLabelSeparator
;
19 // Constructs a date string in the format understood by Google Update for the
20 // |current_time| plus one year.
21 base::string16
BuildExperimentDateString(const base::Time
& current_time
);
23 } // namespace variations
25 #endif // COMPONENTS_VARIATIONS_VARIATIONS_EXPERIMENT_UTIL_H_