| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ |
| 6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ | 6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ |
| 7 | 7 |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // The separator used to separate items in kExperimentLabels. This is a UTF-8 | 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. | 23 // string because it is used on platforms other than Windows. |
| 24 extern const char kExperimentLabelSep[]; | 24 extern const char kExperimentLabelSep[]; |
| 25 | 25 |
| 26 } // namespace google_update | 26 } // namespace google_update |
| 27 | 27 |
| 28 namespace installer { | 28 namespace installer { |
| 29 | 29 |
| 30 // Constructs a date string in the format understood by Google Update for the | 30 // Constructs a date string in the format understood by Google Update for the |
| 31 // |current_time| plus one year. | 31 // |current_time| plus one year. |
| 32 string16 BuildExperimentDateString(const base::Time& current_time); | 32 base::string16 BuildExperimentDateString(const base::Time& current_time); |
| 33 | 33 |
| 34 } // namespace installer | 34 } // namespace installer |
| 35 | 35 |
| 36 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ | 36 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ |
| OLD | NEW |