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

Unified Diff: content/public/test/mock_notification_observer.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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/mock_notification_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_notification_observer.h
===================================================================
--- content/public/test/mock_notification_observer.h (revision 140213)
+++ content/public/test/mock_notification_observer.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_TEST_NOTIFICATION_OBSERVER_MOCK_H_
-#define CONTENT_TEST_NOTIFICATION_OBSERVER_MOCK_H_
+#ifndef CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
+#define CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
#pragma once
#include "content/public/browser/notification_observer.h"
@@ -14,10 +14,10 @@
class NotificationDetails;
class NotificationSource;
-class NotificationObserverMock : public NotificationObserver {
+class MockNotificationObserver : public NotificationObserver {
public:
- NotificationObserverMock();
- virtual ~NotificationObserverMock();
+ MockNotificationObserver();
+ virtual ~MockNotificationObserver();
MOCK_METHOD3(Observe, void(int type,
const NotificationSource& source,
@@ -26,4 +26,4 @@
} // namespace content
-#endif // CONTENT_TEST_NOTIFICATION_OBSERVER_MOCK_H_
+#endif // CONTENT_PUBLIC_TEST_MOCK_NOTIFICATION_OBSERVER_MOCK_H_
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/mock_notification_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698