| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_CHROMEOS_RESOLVE_TIME_ZONE_BY_GEOLOCATION_ON_OFF_H_ |
| #define CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_CHROMEOS_RESOLVE_TIME_ZONE_BY_GEOLOCATION_ON_OFF_H_ |
| |
| #include <memory> |
| |
| class Profile; |
| |
| namespace extensions { |
| namespace settings_private { |
| |
| class GeneratedPref; |
| |
| // Whether time zone detection by geolocation is enabled. |
| extern const char kResolveTimezoneByGeolocationOnOff[]; |
| |
| // Constructor for kResolveTimezoneByGeolocationOnOff preference. |
| std::unique_ptr<GeneratedPref> CreateGeneratedResolveTimezoneByGeolocationOnOff( |
| Profile* profile); |
| |
| } // namespace settings_private |
| } // namespace extensions |
| |
| #endif // CHROME_BROWSER_EXTENSIONS_API_SETTINGS_PRIVATE_CHROMEOS_RESOLVE_TIME_ZONE_BY_GEOLOCATION_ON_OFF_H_ |