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_USER_UPDATE_OBSERVER_H_ 6#define ASH_SYSTEM_USER_UPDATE_OBSERVER_H_ 7 8#include "ash/ash_export.h" 9 10namespace ash { 11 12class ASH_EXPORT UpdateObserver { 13 public: 14 enum UpdateSeverity { 15 UPDATE_NORMAL, 16 UPDATE_LOW_GREEN, 17 UPDATE_HIGH_ORANGE, 18 UPDATE_SEVERE_RED, 19 }; 20 21 virtual ~UpdateObserver() {} 22 23 virtual void OnUpdateRecommended(UpdateSeverity severity) = 0; 24}; 25 26} // namespace ash 27 28#endif //ASH_SYSTEM_USER_UPDATE_OBSERVER_H_ 29