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

Unified Diff: ui/message_center/fake_message_center.cc

Issue 1986493002: Show message center on lock screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 7 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: ui/message_center/fake_message_center.cc
diff --git a/ui/message_center/fake_message_center.cc b/ui/message_center/fake_message_center.cc
index acfe78974c31a8cbdf212616bb7c3098a1c48336..1900b0e65f6473447217998775dd441c10efd0a9 100644
--- a/ui/message_center/fake_message_center.cc
+++ b/ui/message_center/fake_message_center.cc
@@ -42,6 +42,10 @@ bool FakeMessageCenter::IsQuietMode() const {
return false;
}
+bool FakeMessageCenter::IsLockedState() const {
+ return false;
+}
+
bool FakeMessageCenter::HasClickedListener(const std::string& id) {
return false;
}
@@ -121,6 +125,8 @@ NotifierSettingsProvider* FakeMessageCenter::GetNotifierSettingsProvider() {
void FakeMessageCenter::SetQuietMode(bool in_quiet_mode) {
}
+void FakeMessageCenter::SetLockedState(bool locked) {}
+
void FakeMessageCenter::EnterQuietModeWithExpire(
const base::TimeDelta& expires_in) {
}

Powered by Google App Engine
This is Rietveld 408576698