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. 4 5#ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ 6#define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ 7 8#include "base/strings/string16.h" 9 10namespace base { 11class Time; 12} 13 14namespace google_update { 15 16#if defined(OS_WIN) 17// The name of the value where Google Update reads the list of experiments for 18// itself and Chrome. 19extern const wchar_t kExperimentLabels[]; 20#endif 21 22// The separator used to separate items in kExperimentLabels. 23extern const base::char16 kExperimentLabelSeparator; 24 25} // namespace google_update 26 27namespace installer { 28 29// Constructs a date string in the format understood by Google Update for the 30// |current_time| plus one year. 31base::string16 BuildExperimentDateString(const base::Time& current_time); 32 33} // namespace installer 34 35#endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ 36