diff options
Diffstat (limited to 'chromium/base/android/timezone_utils.h')
-rw-r--r-- | chromium/base/android/timezone_utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/base/android/timezone_utils.h b/chromium/base/android/timezone_utils.h new file mode 100644 index 00000000000..0f3d711b831 --- /dev/null +++ b/chromium/base/android/timezone_utils.h @@ -0,0 +1,23 @@ +// Copyright 2017 The Chromium Authors +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef BASE_ANDROID_TIMEZONE_UTILS_H_ +#define BASE_ANDROID_TIMEZONE_UTILS_H_ + +#include <jni.h> + +#include <string> + +#include "base/base_export.h" + +namespace base { +namespace android { + +// Return an ICU timezone created from the host timezone. +BASE_EXPORT std::u16string GetDefaultTimeZoneId(); + +} // namespace android +} // namespace base + +#endif // BASE_ANDROID_TIMEZONE_UTILS_H_ |