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

Unified Diff: chrome/browser/prefs/pref_change_registrar_unittest.cc

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
Index: chrome/browser/prefs/pref_change_registrar_unittest.cc
===================================================================
--- chrome/browser/prefs/pref_change_registrar_unittest.cc (revision 140213)
+++ chrome/browser/prefs/pref_change_registrar_unittest.cc (working copy)
@@ -7,7 +7,7 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
-#include "content/test/notification_observer_mock.h"
+#include "content/public/test/mock_notification_observer.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -43,12 +43,12 @@
private:
scoped_ptr<MockPrefService> service_;
- scoped_ptr<content::NotificationObserverMock> observer_;
+ scoped_ptr<content::MockNotificationObserver> observer_;
};
void PrefChangeRegistrarTest::SetUp() {
service_.reset(new MockPrefService());
- observer_.reset(new content::NotificationObserverMock());
+ observer_.reset(new content::MockNotificationObserver());
}
TEST_F(PrefChangeRegistrarTest, AddAndRemove) {
« no previous file with comments | « chrome/browser/password_manager/password_store_x_unittest.cc ('k') | chrome/browser/prefs/pref_notifier_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698