Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / installer / util / google_update_experiment_util.h
blobe5c8d77e10de9ed717ec38975a791aef1a5d7935
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 CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_
6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_
8 #include "base/strings/string16.h"
10 namespace base {
11 class Time;
14 namespace google_update {
16 #if defined(OS_WIN)
17 // The name of the value where Google Update reads the list of experiments for
18 // itself and Chrome.
19 extern const wchar_t kExperimentLabels[];
20 #endif
22 // The separator used to separate items in kExperimentLabels. This is a UTF-8
23 // string because it is used on platforms other than Windows.
24 extern const char kExperimentLabelSep[];
26 } // namespace google_update
28 namespace installer {
30 // Constructs a date string in the format understood by Google Update for the
31 // |current_time| plus one year.
32 base::string16 BuildExperimentDateString(const base::Time& current_time);
34 } // namespace installer
36 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_