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

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

Issue 1414463004: Implement origin-based deletion for passwords in PasswordDefaultMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Remove extra base::Time namespace qualifier causing compiler problems. Created 5 years 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/browser/password_manager/password_store_proxy_mac.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_x_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc
index 2c2a16c697cef35ae421dca4fbdbd89c3044d966..c951407d91ae2368f50b856f050d3a72ddabf501 100644
--- a/chrome/browser/password_manager/password_store_x_unittest.cc
+++ b/chrome/browser/password_manager/password_store_x_unittest.cc
@@ -49,13 +49,6 @@ class MockPasswordStoreConsumer
}
};
-class MockPasswordStoreObserver
- : public password_manager::PasswordStore::Observer {
- public:
- MOCK_METHOD1(OnLoginsChanged,
- void(const password_manager::PasswordStoreChangeList& changes));
-};
-
class FailingBackend : public PasswordStoreX::NativeBackend {
public:
bool Init() override { return true; }
@@ -324,7 +317,7 @@ TEST_P(PasswordStoreXTest, Notifications) {
scoped_ptr<PasswordForm> form =
CreatePasswordFormFromDataForTesting(form_data);
- MockPasswordStoreObserver observer;
+ password_manager::MockPasswordStoreObserver observer;
store->AddObserver(&observer);
const PasswordStoreChange expected_add_changes[] = {
« no previous file with comments | « chrome/browser/password_manager/password_store_proxy_mac.cc ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698