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

Side by Side 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 Win browsertests. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/message_center/fake_message_center.h" 5 #include "ui/message_center/fake_message_center.h"
6 #include "ui/message_center/notification_list.h" 6 #include "ui/message_center/notification_list.h"
7 7
8 namespace message_center { 8 namespace message_center {
9 9
10 FakeMessageCenter::FakeMessageCenter() { 10 FakeMessageCenter::FakeMessageCenter() {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 return NotificationList::PopupNotifications(); 51 return NotificationList::PopupNotifications();
52 } 52 }
53 53
54 void FakeMessageCenter::AddNotification( 54 void FakeMessageCenter::AddNotification(
55 NotificationType type, 55 NotificationType type,
56 const std::string& id, 56 const std::string& id,
57 const string16& title, 57 const string16& title,
58 const string16& message, 58 const string16& message,
59 const string16& display_source, 59 const string16& display_source,
60 const std::string& extension_id, 60 const std::string& extension_id,
61 const base::DictionaryValue* optional_fields) { 61 const base::DictionaryValue* optional_fields,
62 } 62 NotificationDelegate* delegate) {}
63 63
64 void FakeMessageCenter::UpdateNotification( 64 void FakeMessageCenter::UpdateNotification(
65 const std::string& old_id, 65 const std::string& old_id,
66 const std::string& new_id, 66 const std::string& new_id,
67 const string16& title, 67 const string16& title,
68 const string16& message, 68 const string16& message,
69 const base::DictionaryValue* optional_fields) { 69 const base::DictionaryValue* optional_fields) {
70 } 70 }
71 71
72 void FakeMessageCenter::RemoveNotification(const std::string& id, 72 void FakeMessageCenter::RemoveNotification(const std::string& id,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 125
126 void FakeMessageCenter::EnterQuietModeWithExpire( 126 void FakeMessageCenter::EnterQuietModeWithExpire(
127 const base::TimeDelta& expires_in) { 127 const base::TimeDelta& expires_in) {
128 } 128 }
129 129
130 void FakeMessageCenter::SetMessageCenterVisible(bool visible) { 130 void FakeMessageCenter::SetMessageCenterVisible(bool visible) {
131 } 131 }
132 132
133 } // namespace message_center 133 } // namespace message_center
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698