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

Unified Diff: chrome/browser/password_manager/password_form_data.h

Issue 23857010: Revert "Revert 223907 "[password generation] Upload possible account cre..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/password_manager/password_form_data.h
diff --git a/chrome/browser/password_manager/password_form_data.h b/chrome/browser/password_manager/password_form_data.h
index fef54a1a7970a3bc0835b9b352e23d93eb69fcec..0421a7d21ac3589a57ff8184763c8e27b854e9e6 100644
--- a/chrome/browser/password_manager/password_form_data.h
+++ b/chrome/browser/password_manager/password_form_data.h
@@ -10,6 +10,8 @@
#include "components/autofill/core/common/password_form.h"
#include "testing/gmock/include/gmock/gmock.h"
+// TODO(sync): This file must eventually be refactored away -- crbug.com/87185.
+
// Struct used for creation of PasswordForms from static arrays of data.
// Note: This is only meant to be used in unit test.
struct PasswordFormData {
@@ -42,11 +44,6 @@ bool ContainsSamePasswordForms(
std::vector<autofill::PasswordForm>& first,
std::vector<autofill::PasswordForm>& second);
-// Pretty-prints the contents of a PasswordForm.
-// TODO(sync): This file must eventually be refactored away -- crbug.com/87185.
-std::ostream& operator<<(std::ostream& os,
- const autofill::PasswordForm& form);
-
// This gmock matcher is used to check that the |arg| contains exactly the same
// PasswordForms as |forms|, regardless of order.
MATCHER_P(ContainsAllPasswordForms, forms, "") {
« no previous file with comments | « chrome/browser/password_manager/login_database_unittest.cc ('k') | chrome/browser/password_manager/password_form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698