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

Unified Diff: ash/common/system/tray/default_system_tray_delegate.cc

Issue 2558043006: ash: Use system tray mojo interface to show system update tray icon (Closed)
Patch Set: fix gcc Created 4 years 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 | « ash/common/system/tray/default_system_tray_delegate.h ('k') | ash/common/system/tray/system_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/default_system_tray_delegate.cc
diff --git a/ash/common/system/tray/default_system_tray_delegate.cc b/ash/common/system/tray/default_system_tray_delegate.cc
index 7c140544e823922f6871a4991839165a435e79ba..91f3a3306ce8a16773c13260e63d1e63d3587bfe 100644
--- a/ash/common/system/tray/default_system_tray_delegate.cc
+++ b/ash/common/system/tray/default_system_tray_delegate.cc
@@ -5,11 +5,6 @@
#include "ash/common/system/tray/default_system_tray_delegate.h"
#include <string>
-#include <utility>
-
-#include "ash/common/system/networking_config_delegate.h"
-#include "base/message_loop/message_loop.h"
-#include "base/time/time.h"
namespace ash {
@@ -32,13 +27,6 @@ bool DefaultSystemTrayDelegate::IsUserSupervised() const {
return GetUserLoginStatus() == LoginStatus::SUPERVISED;
}
-void DefaultSystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const {
- DCHECK(info);
- info->severity = UpdateInfo::UPDATE_NONE;
- info->update_required = true;
- info->factory_reset_required = false;
-}
-
bool DefaultSystemTrayDelegate::ShouldShowSettings() const {
return true;
}
« no previous file with comments | « ash/common/system/tray/default_system_tray_delegate.h ('k') | ash/common/system/tray/system_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698