IDB: Make readonly transactions wait for earlier readwrite transactions
[chromium-blink-merge.git] / content / public / test / mock_notification_observer.h
blob1c324849c27d326faf6965c4ced43ad44012ff09
1 // Copyright (c) 2012 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.
5 #ifndef CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
8 #include "content/public/browser/notification_observer.h"
9 #include "testing/gmock/include/gmock/gmock.h"
11 namespace content {
13 class NotificationDetails;
14 class NotificationSource;
16 class MockNotificationObserver : public NotificationObserver {
17 public:
18 MockNotificationObserver();
19 virtual ~MockNotificationObserver();
21 MOCK_METHOD3(Observe, void(int type,
22 const NotificationSource& source,
23 const NotificationDetails& details));
26 } // namespace content
28 #endif // CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_