| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 #include "chrome/browser/cancelable_request.h" | 11 #include "chrome/browser/common/cancelable_request.h" |
| 12 #include "unicode/timezone.h" | 12 #include "unicode/timezone.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 namespace system { | 15 namespace system { |
| 16 | 16 |
| 17 // This interface provides access to Chrome OS timezone settings. | 17 // This interface provides access to Chrome OS timezone settings. |
| 18 class TimezoneSettings : public CancelableRequestProvider { | 18 class TimezoneSettings : public CancelableRequestProvider { |
| 19 public: | 19 public: |
| 20 class Observer { | 20 class Observer { |
| 21 public: | 21 public: |
| (...skipping 22 matching lines...) Expand all Loading... |
| 44 static string16 GetTimezoneID(const icu::TimeZone& timezone); | 44 static string16 GetTimezoneID(const icu::TimeZone& timezone); |
| 45 | 45 |
| 46 protected: | 46 protected: |
| 47 virtual ~TimezoneSettings() {} | 47 virtual ~TimezoneSettings() {} |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace system | 50 } // namespace system |
| 51 } // namespace chromeos | 51 } // namespace chromeos |
| 52 | 52 |
| 53 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ | 53 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ |
| OLD | NEW |