Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ash / system / chromeos / system_clock_observer.h
index e2625a8..5d4c4d6 100644 (file)
@@ -9,7 +9,6 @@
 #include "chromeos/settings/timezone_settings.h"
 
 namespace ash {
-namespace internal {
 
 class SystemClockObserver
     : public chromeos::SystemClockClient::Observer,
@@ -20,15 +19,19 @@ class SystemClockObserver
 
   // chromeos::SystemClockClient::Observer
   virtual void SystemClockUpdated() OVERRIDE;
+  virtual void SystemClockCanSetTimeChanged(bool can_set_time) OVERRIDE;
 
   // chromeos::system::TimezoneSettings::Observer
   virtual void TimezoneChanged(const icu::TimeZone& timezone) OVERRIDE;
 
+  bool can_set_time() { return can_set_time_; }
+
  private:
+  bool can_set_time_;
+
   DISALLOW_COPY_AND_ASSIGN(SystemClockObserver);
 };
 
-}  // namespace internal
 }  // namespace ash
 
 #endif  // ASH_SYSTEM_CHROMEOS_SYSTEM_CLOCK_OBSERVER_H_