OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/browser/chromeos/dom_ui/system_settings_provider.h" | 5 #include "chrome/browser/chromeos/dom_ui/system_settings_provider.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/time.h" | 9 #include "base/stl_util-inl.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/stringprintf.h" | 11 #include "base/stringprintf.h" |
12 #include "base/stl_util-inl.h" | 12 #include "base/time.h" |
13 #include "base/time.h" | 13 #include "base/time.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chrome/browser/chromeos/cros/cros_library.h" | 16 #include "chrome/browser/chromeos/cros/cros_library.h" |
17 #include "chrome/browser/chromeos/cros_settings.h" | 17 #include "chrome/browser/chromeos/cros_settings.h" |
18 #include "chrome/browser/chromeos/cros_settings_names.h" | 18 #include "chrome/browser/chromeos/cros_settings_names.h" |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
22 static const char* kTimeZonesUtf8[] = { | 22 static const char* kTimeZonesUtf8[] = { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 iter != timezones_.end(); ++iter) { | 140 iter != timezones_.end(); ++iter) { |
141 const icu::TimeZone* timezone = *iter; | 141 const icu::TimeZone* timezone = *iter; |
142 if (GetTimezoneID(*timezone) == timezone_id) { | 142 if (GetTimezoneID(*timezone) == timezone_id) { |
143 return timezone; | 143 return timezone; |
144 } | 144 } |
145 } | 145 } |
146 return NULL; | 146 return NULL; |
147 } | 147 } |
148 | 148 |
149 } // namespace chromeos | 149 } // namespace chromeos |
OLD | NEW |