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

Unified Diff: chrome/browser/chromeos/eol_notification.h

Issue 2081873002: Incorporate comments in Dbus code and add Eol icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporate comments from isherman@ Created 4 years, 6 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/eol_notification.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/eol_notification.h
diff --git a/chrome/browser/chromeos/eol_notification.h b/chrome/browser/chromeos/eol_notification.h
index 2ca80e8817fb6920e3447a4154988962b01f7a23..e60b48af399c20a1ec77663269b25689b206a744 100644
--- a/chrome/browser/chromeos/eol_notification.h
+++ b/chrome/browser/chromeos/eol_notification.h
@@ -9,6 +9,7 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "chrome/browser/profiles/profile.h"
+#include "third_party/cros_system_api/dbus/update_engine/dbus-constants.h"
namespace message_center {
class MessageCenter;
@@ -29,7 +30,7 @@ class EolNotification final {
private:
// Callback invoked when |GetEolStatus()| has finished.
- void OnEolStatus(int status);
+ void OnEolStatus(update_engine::EndOfLifeStatus status);
// Create or updates the notfication.
void Update();
@@ -40,8 +41,8 @@ class EolNotification final {
// Profile which is associated with the EndOfLife notification.
Profile* const profile_;
- // Device Eol status.
- int status_;
+ // Device EndOfLife status.
+ update_engine::EndOfLifeStatus status_;
// Factory of callbacks.
base::WeakPtrFactory<EolNotification> weak_factory_;
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/eol_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698