blob: c9c23f4006ba880406a68fb6797a51457017bd2f [file] [log] [blame]
sdefresne1eeb90f2015-08-13 18:52:091// 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.
4
5#ifndef COMPONENTS_VARIATIONS_VARIATIONS_EXPERIMENT_UTIL_H_
6#define COMPONENTS_VARIATIONS_VARIATIONS_EXPERIMENT_UTIL_H_
7
8#include "base/strings/string16.h"
9
10namespace base {
11class Time;
12}
13
14namespace variations {
15
16// The separator used to separate items in experiment labels.
17extern const base::char16 kExperimentLabelSeparator;
18
19// Constructs a date string in the format understood by Google Update for the
20// |current_time| plus one year.
21base::string16 BuildExperimentDateString(const base::Time& current_time);
22
23} // namespace variations
24
25#endif // COMPONENTS_VARIATIONS_VARIATIONS_EXPERIMENT_UTIL_H_