blob: 1c324849c27d326faf6965c4ced43ad44012ff09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
#define CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
#include "content/public/browser/notification_observer.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace content {
class NotificationDetails;
class NotificationSource;
class MockNotificationObserver : public NotificationObserver {
public:
MockNotificationObserver();
virtual ~MockNotificationObserver();
MOCK_METHOD3(Observe, void(int type,
const NotificationSource& source,
const NotificationDetails& details));
};
} // namespace content
#endif // CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
|