Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / chromeos / system / timezone_util.h
blob484ba820a943b8fe562522b0818c4327d844d327
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"
10 namespace base {
11 class ListValue;
14 namespace chromeos {
16 struct TimeZoneResponseData;
18 namespace system {
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);
29 } // namespace system
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_UTIL_H_