| OLD | NEW |
| 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback_old.h" | |
| 12 #include "chrome/browser/cancelable_request.h" | 11 #include "chrome/browser/cancelable_request.h" |
| 13 #include "unicode/timezone.h" | 12 #include "unicode/timezone.h" |
| 14 | 13 |
| 15 namespace chromeos { | 14 namespace chromeos { |
| 16 namespace system { | 15 namespace system { |
| 17 | 16 |
| 18 // This interface provides access to Chrome OS timezone settings. | 17 // This interface provides access to Chrome OS timezone settings. |
| 19 class TimezoneSettings : public CancelableRequestProvider { | 18 class TimezoneSettings : public CancelableRequestProvider { |
| 20 public: | 19 public: |
| 21 class Observer { | 20 class Observer { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 36 virtual void RemoveObserver(Observer* observer) = 0; | 35 virtual void RemoveObserver(Observer* observer) = 0; |
| 37 | 36 |
| 38 protected: | 37 protected: |
| 39 virtual ~TimezoneSettings() {} | 38 virtual ~TimezoneSettings() {} |
| 40 }; | 39 }; |
| 41 | 40 |
| 42 } // namespace system | 41 } // namespace system |
| 43 } // namespace chromeos | 42 } // namespace chromeos |
| 44 | 43 |
| 45 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ | 44 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_TIMEZONE_SETTINGS_H_ |
| OLD | NEW |