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

Unified Diff: chrome/browser/password_manager/password_store_default_unittest.cc

Issue 5448001: Remove duplicate NotificationObserver mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | « no previous file | chrome/browser/password_manager/password_store_x_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_default_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_default_unittest.cc b/chrome/browser/password_manager/password_store_default_unittest.cc
index 43bed39f881f84bc90ce993fce5793fd81e97640..eb8f0307101d495855e4b9e6950a90089b1dc9b7 100644
--- a/chrome/browser/password_manager/password_store_default_unittest.cc
+++ b/chrome/browser/password_manager/password_store_default_unittest.cc
@@ -14,9 +14,10 @@
#include "chrome/browser/password_manager/password_form_data.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/webdata/web_data_service.h"
-#include "chrome/common/notification_service.h"
+#include "chrome/common/notification_details.h"
+#include "chrome/common/notification_observer_mock.h"
+#include "chrome/common/notification_source.h"
#include "chrome/common/pref_names.h"
-#include "chrome/test/mock_notification_observer.h"
#include "chrome/test/signaling_task.h"
#include "chrome/test/testing_profile.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -69,7 +70,7 @@ class DBThreadObserverHelper :
registrar_.RemoveAll();
}
- MockNotificationObserver& observer() {
+ NotificationObserverMock& observer() {
return observer_;
}
@@ -86,7 +87,7 @@ class DBThreadObserverHelper :
WaitableEvent done_event_;
NotificationRegistrar registrar_;
- MockNotificationObserver observer_;
+ NotificationObserverMock observer_;
};
} // anonymous namespace
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_store_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698