Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: ash/system/user/update_observer.h

Issue 10915214: ash: Update system update notification behaviour. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win-fix Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/user/update_observer.h
diff --git a/ash/system/user/update_observer.h b/ash/system/user/update_observer.h
index 066a7bc780ebe18346fa1182d82dabcd9677eb6c..e509f62d3cb31461a1ba671d7478cbf4a79f9f5e 100644
--- a/ash/system/user/update_observer.h
+++ b/ash/system/user/update_observer.h
@@ -11,9 +11,16 @@ namespace ash {
class ASH_EXPORT UpdateObserver {
public:
+ enum UpdateSeverity {
+ UPDATE_NORMAL,
+ UPDATE_LOW_GREEN,
+ UPDATE_HIGH_ORANGE,
+ UPDATE_SEVERE_RED,
+ };
+
virtual ~UpdateObserver() {}
- virtual void OnUpdateRecommended() = 0;
+ virtual void OnUpdateRecommended(UpdateSeverity severity) = 0;
};
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698