- add sources.
[platform/framework/web/crosswalk.git] / src / ash / system / date / clock_observer.h
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_SYSTEM_DATE_CLOCK_OBSERVER_H_
6 #define ASH_SYSTEM_DATE_CLOCK_OBSERVER_H_
7
8 namespace ash {
9
10 class ClockObserver {
11  public:
12   virtual ~ClockObserver() {}
13
14   virtual void OnDateFormatChanged() = 0;
15   virtual void OnSystemClockTimeUpdated() = 0;
16
17   // Force a refresh (e.g. after the system is resumed).
18   virtual void Refresh() = 0;
19 };
20
21 };
22
23 #endif  // ASH_SYSTEM_DATE_CLOCK_OBSERVER_H_