blob: e5c8d77e10de9ed717ec38975a791aef1a5d7935 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_
#define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_
#include "base/strings/string16.h"
namespace base {
class Time;
}
namespace google_update {
#if defined(OS_WIN)
// The name of the value where Google Update reads the list of experiments for
// itself and Chrome.
extern const wchar_t kExperimentLabels[];
#endif
// The separator used to separate items in kExperimentLabels. This is a UTF-8
// string because it is used on platforms other than Windows.
extern const char kExperimentLabelSep[];
} // namespace google_update
namespace installer {
// Constructs a date string in the format understood by Google Update for the
// |current_time| plus one year.
base::string16 BuildExperimentDateString(const base::Time& current_time);
} // namespace installer
#endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_
|