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

Unified Diff: components/password_manager/core/browser/password_manager_test_utils.h

Issue 2777283004: Do not build Password Reuse on Android and iOS (Closed)
Patch Set: Introduced gn var Created 3 years, 9 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: components/password_manager/core/browser/password_manager_test_utils.h
diff --git a/components/password_manager/core/browser/password_manager_test_utils.h b/components/password_manager/core/browser/password_manager_test_utils.h
index 8d1577315d062f3249934595df2f22a8bbe85b4c..dd83a6895631633b02cff1fae0200469bb01f6eb 100644
--- a/components/password_manager/core/browser/password_manager_test_utils.h
+++ b/components/password_manager/core/browser/password_manager_test_utils.h
@@ -83,6 +83,7 @@ class MockPasswordStoreObserver : public PasswordStore::Observer {
MOCK_METHOD1(OnLoginsChanged, void(const PasswordStoreChangeList& changes));
};
+#if defined(PASSWORD_REUSE_DETECTION_SUPPORT)
class MockPasswordReuseDetectorConsumer : public PasswordReuseDetectorConsumer {
public:
MockPasswordReuseDetectorConsumer();
@@ -91,6 +92,7 @@ class MockPasswordReuseDetectorConsumer : public PasswordReuseDetectorConsumer {
MOCK_METHOD4(OnReuseFound,
void(const base::string16&, const std::string&, int, int));
};
+#endif
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698