| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |