summaryrefslogtreecommitdiffstats
path: root/ash/system/user/update_observer.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-12 09:16:45 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-12 09:16:45 +0000
commit9cbc9bf177b80e6ad770e30fe5e26f45433d36cb (patch)
tree7d47c983882174850162793de1f1d8821c35ca2b /ash/system/user/update_observer.h
parentc363d304b025e47eaae8cddef09996679ecd508b (diff)
downloadchromium_src-9cbc9bf177b80e6ad770e30fe5e26f45433d36cb.zip
chromium_src-9cbc9bf177b80e6ad770e30fe5e26f45433d36cb.tar.gz
chromium_src-9cbc9bf177b80e6ad770e30fe5e26f45433d36cb.tar.bz2
ash: Update system update notification behaviour.
Decorate the update notification appropriately depending on the severity of the update recommendation. BUG=145577 Review URL: https://chromiumcodereview.appspot.com/10915214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/user/update_observer.h')
-rw-r--r--ash/system/user/update_observer.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ash/system/user/update_observer.h b/ash/system/user/update_observer.h
index 066a7bc..e509f62 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