| 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 { |
| 11 class Time; |
| 12 } |
| 13 |
| 10 namespace installer { | 14 namespace installer { |
| 11 | 15 |
| 12 // Constructs a date string in the format understood by Google Update for the | 16 // Constructs a date string in the format understood by Google Update for the |
| 13 // current time plus one year. | 17 // |current_time| plus one year. |
| 14 string16 BuildExperimentDateString(); | 18 string16 BuildExperimentDateString(const base::Time& current_time); |
| 15 | 19 |
| 16 } // namespace installer | 20 } // namespace installer |
| 17 | 21 |
| 18 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ | 22 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_EXPERIMENT_UTIL_H_ |
| OLD | NEW |