| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chromeos/timezone/timezone_request.h" | 5 #include "chromeos/timezone/timezone_request.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <string> | 9 #include <string> |
| 8 | 10 |
| 9 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
| 10 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
| 11 #include "base/metrics/sparse_histogram.h" | 13 #include "base/metrics/sparse_histogram.h" |
| 12 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
| 13 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
| 14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 15 #include "base/values.h" | 17 #include "base/values.h" |
| 16 #include "google_apis/google_api_keys.h" | 18 #include "google_apis/google_api_keys.h" |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 dstOffset, | 421 dstOffset, |
| 420 rawOffset, | 422 rawOffset, |
| 421 timeZoneId.c_str(), | 423 timeZoneId.c_str(), |
| 422 timeZoneName.c_str(), | 424 timeZoneName.c_str(), |
| 423 error_message.c_str(), | 425 error_message.c_str(), |
| 424 (unsigned)status, | 426 (unsigned)status, |
| 425 (status < arraysize(status2string) ? status2string[status] : "unknown")); | 427 (status < arraysize(status2string) ? status2string[status] : "unknown")); |
| 426 } | 428 } |
| 427 | 429 |
| 428 } // namespace chromeos | 430 } // namespace chromeos |
| OLD | NEW |