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

Unified Diff: ui/message_center/fake_message_center.cc

Issue 15582004: Move NotificationDelegate into message_center. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the ever-changing Mac unit tests. Created 7 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
« no previous file with comments | « ui/message_center/fake_message_center.h ('k') | ui/message_center/message_center.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a7ef9135b9bd324dd9e40529c6179e53c92d075a..b48961c4c211b043816badf9ecfb912a09f67bc9 100644
--- a/ui/message_center/fake_message_center.cc
+++ b/ui/message_center/fake_message_center.cc
@@ -62,16 +62,16 @@ void FakeMessageCenter::AddNotification(
const string16& message,
const string16& display_source,
const std::string& extension_id,
- const base::DictionaryValue* optional_fields) {
-}
+ const base::DictionaryValue* optional_fields,
+ NotificationDelegate* delegate) {}
void FakeMessageCenter::UpdateNotification(
const std::string& old_id,
const std::string& new_id,
const string16& title,
const string16& message,
- const base::DictionaryValue* optional_fields) {
-}
+ const base::DictionaryValue* optional_fields,
+ NotificationDelegate* delegate) {}
void FakeMessageCenter::RemoveNotification(const std::string& id,
bool by_user) {
« no previous file with comments | « ui/message_center/fake_message_center.h ('k') | ui/message_center/message_center.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698