Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: content/test/notification_observer_mock.h

Issue 10494012: Move mock notification observer header from content\test to content\public\test. This way we can en… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/mock_notification_observer.cc ('k') | content/test/notification_observer_mock.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_TEST_NOTIFICATION_OBSERVER_MOCK_H_
6 #define CONTENT_TEST_NOTIFICATION_OBSERVER_MOCK_H_
7 #pragma once
8
9 #include "content/public/browser/notification_observer.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11
12 namespace content {
13
14 class NotificationDetails;
15 class NotificationSource;
16
17 class NotificationObserverMock : public NotificationObserver {
18 public:
19 NotificationObserverMock();
20 virtual ~NotificationObserverMock();
21
22 MOCK_METHOD3(Observe, void(int type,
23 const NotificationSource& source,
24 const NotificationDetails& details));
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_TEST_NOTIFICATION_OBSERVER_MOCK_H_
OLDNEW
« no previous file with comments | « content/test/mock_notification_observer.cc ('k') | content/test/notification_observer_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698