OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_TEST_MOCK_NOTIFICATION_OBSERVER_H_ | |
6 #define CHROME_TEST_MOCK_NOTIFICATION_OBSERVER_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/common/notification_observer.h" | |
10 #include "chrome/common/notification_details.h" | |
11 #include "chrome/common/notification_service.h" | |
12 #include "chrome/common/notification_type.h" | |
13 #include "testing/gmock/include/gmock/gmock.h" | |
14 | |
15 class MockNotificationObserver : public NotificationObserver { | |
16 public: | |
17 MOCK_METHOD3(Observe, void(NotificationType, | |
18 const NotificationSource&, | |
19 const NotificationDetails&)); | |
20 }; | |
21 | |
22 #endif // CHROME_TEST_MOCK_NOTIFICATION_OBSERVER_H_ | |
OLD | NEW |