1 // Copyright 2013 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 CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_UTIL_H_
8 #include "base/memory/scoped_ptr.h"
16 struct TimeZoneResponseData
;
20 // Creates a list of pairs of each timezone's ID and name.
21 scoped_ptr
<base::ListValue
> GetTimezoneList();
23 // Returns true if device is managed and has SystemTimezonePolicy set.
24 bool HasSystemTimezonePolicy();
26 // Apply TimeZone update from TimeZoneProvider.
27 void ApplyTimeZone(const TimeZoneResponseData
* timezone
);
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_UTIL_H_