Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ash / system / user / update_observer.h
blobe509f62d3cb31461a1ba671d7478cbf4a79f9f5e
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.
5 #ifndef ASH_SYSTEM_USER_UPDATE_OBSERVER_H_
6 #define ASH_SYSTEM_USER_UPDATE_OBSERVER_H_
8 #include "ash/ash_export.h"
10 namespace ash {
12 class ASH_EXPORT UpdateObserver {
13 public:
14 enum UpdateSeverity {
15 UPDATE_NORMAL,
16 UPDATE_LOW_GREEN,
17 UPDATE_HIGH_ORANGE,
18 UPDATE_SEVERE_RED,
21 virtual ~UpdateObserver() {}
23 virtual void OnUpdateRecommended(UpdateSeverity severity) = 0;
26 } // namespace ash
28 #endif //ASH_SYSTEM_USER_UPDATE_OBSERVER_H_