OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/public/test/test_notification_tracker.h" | 5 #include "content/public/test/test_notification_tracker.h" |
6 | 6 |
7 #include "content/public/browser/notification_service.h" | 7 #include "content/public/browser/notification_service.h" |
8 #include "content/public/browser/notification_types.h" | 8 #include "content/public/browser/notification_types.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 74 } |
75 | 75 |
76 void TestNotificationTracker::Observe( | 76 void TestNotificationTracker::Observe( |
77 int type, | 77 int type, |
78 const NotificationSource& source, | 78 const NotificationSource& source, |
79 const NotificationDetails& details) { | 79 const NotificationDetails& details) { |
80 events_.push_back(Event(type, source, details)); | 80 events_.push_back(Event(type, source, details)); |
81 } | 81 } |
82 | 82 |
83 } // namespace content | 83 } // namespace content |
OLD | NEW |