| 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 #include "chrome/installer/util/google_update_experiment_util.h" | 5 #include "chrome/installer/util/google_update_experiment_util.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 | 13 |
| 14 namespace google_update { | 14 namespace google_update { |
| 15 | 15 |
| 16 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
| 17 const wchar_t kExperimentLabels[] = L"experiment_labels"; | 17 const wchar_t kExperimentLabels[] = L"experiment_labels"; |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 const char kExperimentLabelSep[] = ";"; | 20 const base::char16 kExperimentLabelSeparator = ';'; |
| 21 | 21 |
| 22 } // namespace google_update | 22 } // namespace google_update |
| 23 | 23 |
| 24 namespace installer { | 24 namespace installer { |
| 25 | 25 |
| 26 namespace { | 26 namespace { |
| 27 | 27 |
| 28 const char* const kDays[] = | 28 const char* const kDays[] = |
| 29 { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; | 29 { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; |
| 30 | 30 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 56 then.day_of_month, | 56 then.day_of_month, |
| 57 kMonths[then.month - 1], | 57 kMonths[then.month - 1], |
| 58 then.year, | 58 then.year, |
| 59 then.hour, | 59 then.hour, |
| 60 then.minute, | 60 then.minute, |
| 61 then.second)); | 61 then.second)); |
| 62 } | 62 } |
| 63 | 63 |
| 64 } // namespace installer | 64 } // namespace installer |
| 65 | 65 |
| OLD | NEW |