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

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

Issue 866983003: GetLoginsRequest: Use ScopedVector to express ownership of forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@324291_scopedvector
Patch Set: Rebased Created 5 years, 11 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_form_data.h
diff --git a/components/password_manager/core/browser/password_form_data.h b/components/password_manager/core/browser/password_form_data.h
index b91a763f9a24897ba33fe958d42484fe6c04082c..333986596623423394212b69ac513236d65a268e 100644
--- a/components/password_manager/core/browser/password_form_data.h
+++ b/components/password_manager/core/browser/password_form_data.h
@@ -45,12 +45,6 @@ bool ContainsSamePasswordFormsPtr(
bool ContainsSamePasswordForms(std::vector<autofill::PasswordForm>& first,
std::vector<autofill::PasswordForm>& second);
-// This gmock matcher is used to check that the |arg| contains exactly the same
-// PasswordForms as |forms|, regardless of order.
-MATCHER_P(ContainsAllPasswordForms, forms, "") {
- return ContainsSamePasswordFormsPtr(forms, arg);
-}
-
} // namespace password_manager
#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698