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

Unified Diff: chrome/test/base/thread_observer_helper.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 | « chrome/chrome_tests.gypi ('k') | content/browser/debugger/devtools_netlog_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/thread_observer_helper.h
===================================================================
--- chrome/test/base/thread_observer_helper.h (revision 140213)
+++ chrome/test/base/thread_observer_helper.h (working copy)
@@ -12,7 +12,7 @@
#include "base/synchronization/waitable_event.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_registrar.h"
-#include "content/test/notification_observer_mock.h"
+#include "content/public/test/mock_notification_observer.h"
// Helper class to add and remove observers on a non-UI thread from
// the UI thread.
@@ -37,7 +37,7 @@
registrar_.RemoveAll();
}
- content::NotificationObserverMock* observer() {
+ content::MockNotificationObserver* observer() {
return &observer_;
}
@@ -47,7 +47,7 @@
virtual void RegisterObservers() = 0;
content::NotificationRegistrar registrar_;
- content::NotificationObserverMock observer_;
+ content::MockNotificationObserver observer_;
private:
void RegisterObserversTask() {
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/debugger/devtools_netlog_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698