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

Side by Side Diff: content/public/test/mock_notification_observer.h

Issue 942963003: Cleanup: Fix content header include guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_H_
7 7
8 #include "content/public/browser/notification_observer.h" 8 #include "content/public/browser/notification_observer.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class NotificationDetails; 13 class NotificationDetails;
14 class NotificationSource; 14 class NotificationSource;
15 15
16 class MockNotificationObserver : public NotificationObserver { 16 class MockNotificationObserver : public NotificationObserver {
17 public: 17 public:
18 MockNotificationObserver(); 18 MockNotificationObserver();
19 virtual ~MockNotificationObserver(); 19 virtual ~MockNotificationObserver();
20 20
21 MOCK_METHOD3(Observe, void(int type, 21 MOCK_METHOD3(Observe, void(int type,
22 const NotificationSource& source, 22 const NotificationSource& source,
23 const NotificationDetails& details)); 23 const NotificationDetails& details));
24 }; 24 };
25 25
26 } // namespace content 26 } // namespace content
27 27
28 #endif // CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_ 28 #endif // CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_download_manager.h ('k') | content/public/test/mock_special_storage_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698