Fix emulator build error
[platform/framework/web/chromium-efl.git] / base / i18n / timezone.h
1 // Copyright 2013 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BASE_I18N_TIMEZONE_H_
6 #define BASE_I18N_TIMEZONE_H_
7
8 #include <string>
9
10 #include "base/i18n/base_i18n_export.h"
11
12 namespace base {
13
14 // Checks the system timezone and turns it into a two-character ISO 3166 country
15 // code. This may fail (for example, it used to always fail on Android), in
16 // which case it will return an empty string. It'll also return an empty string
17 // when the timezone is Etc/UTC or Etc/UCT, but will return 'GB" for Etc/GMT
18 // because people in the UK tends to select Etc/GMT by mistake instead of
19 // Europe/London (British Time).
20 BASE_I18N_EXPORT std::string CountryCodeForCurrentTimezone();
21
22 }  // namespace base
23
24 #endif  // BASE_I18N_TIMEZONE_H_