Fix Mojo and Mandoline builds.
[chromium-blink-merge.git] / chromeos / settings / timezone_settings_helper.h
blobc8ed8eee9026ff28cad847eb0c04205aecf4b978
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMEOS_SETTINGS_TIMEZONE_SETTINGS_HELPER_H_
6 #define CHROMEOS_SETTINGS_TIMEZONE_SETTINGS_HELPER_H_
8 #include <vector>
10 #include "third_party/icu/source/i18n/unicode/timezone.h"
12 namespace chromeos {
13 namespace system {
15 // Return a timezone in the list matching |timezone| in terms of
16 // id and canonical id. If both fail, return a timezone with
17 // the same rules. Otherwise, return null.
18 const icu::TimeZone* GetKnownTimezoneOrNull(
19 const icu::TimeZone& timezone,
20 const std::vector<icu::TimeZone*>& timezone_list);
22 } // namespace system
23 } // namespace chromeos
25 #endif // CHROMEOS_SETTINGS_TIMEZONE_SETTINGS_HELPER_H_