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

Unified Diff: ash/common/test/test_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/test/test_system_tray_delegate.h ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/test_system_tray_delegate.cc
diff --git a/ash/common/test/test_system_tray_delegate.cc b/ash/common/test/test_system_tray_delegate.cc
index 4d22fd3d12d3d9c489a34af51a732309d8b94636..84b240c335d27d85ec3bd8857ea224ab6d6c6041 100644
--- a/ash/common/test/test_system_tray_delegate.cc
+++ b/ash/common/test/test_system_tray_delegate.cc
@@ -16,7 +16,6 @@ namespace test {
namespace {
-bool g_system_update_required = false;
LoginStatus g_initial_status = LoginStatus::USER;
} // namespace
@@ -71,13 +70,6 @@ bool TestSystemTrayDelegate::IsUserSupervised() const {
return login_status_ == LoginStatus::SUPERVISED;
}
-void TestSystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const {
- DCHECK(info);
- info->severity = UpdateInfo::UPDATE_NONE;
- info->update_required = g_system_update_required;
- info->factory_reset_required = false;
-}
-
bool TestSystemTrayDelegate::GetSessionStartTime(
base::TimeTicks* session_start_time) {
// Just returns TimeTicks::Now(), so the remaining time is always the
« no previous file with comments | « ash/common/test/test_system_tray_delegate.h ('k') | ash/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698