Rename GetIconID to GetIconId
[chromium-blink-merge.git] / components / variations / variations_experiment_util.h
blobc9c23f4006ba880406a68fb6797a51457017bd2f
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"
10 namespace base {
11 class Time;
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_