| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <ostream> | 5 #include <ostream> |
| 6 #include <sstream> | 6 #include <sstream> |
| 7 | 7 |
| 8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 username_marked_by_site(false), | 72 username_marked_by_site(false), |
| 73 password_value_is_default(false), | 73 password_value_is_default(false), |
| 74 new_password_value_is_default(false), | 74 new_password_value_is_default(false), |
| 75 new_password_marked_by_site(false), | 75 new_password_marked_by_site(false), |
| 76 ssl_valid(false), | 76 ssl_valid(false), |
| 77 preferred(false), | 77 preferred(false), |
| 78 blacklisted_by_user(false), | 78 blacklisted_by_user(false), |
| 79 type(TYPE_MANUAL), | 79 type(TYPE_MANUAL), |
| 80 times_used(0), | 80 times_used(0), |
| 81 generation_upload_status(NO_SIGNAL_SENT), | 81 generation_upload_status(NO_SIGNAL_SENT), |
| 82 skip_zero_click(false), | 82 skip_zero_click(true), |
| 83 layout(Layout::LAYOUT_OTHER), | 83 layout(Layout::LAYOUT_OTHER), |
| 84 was_parsed_using_autofill_predictions(false), | 84 was_parsed_using_autofill_predictions(false), |
| 85 is_public_suffix_match(false), | 85 is_public_suffix_match(false), |
| 86 is_affiliation_based_match(false) {} | 86 is_affiliation_based_match(false) {} |
| 87 | 87 |
| 88 PasswordForm::PasswordForm(const PasswordForm& other) = default; | 88 PasswordForm::PasswordForm(const PasswordForm& other) = default; |
| 89 | 89 |
| 90 PasswordForm::~PasswordForm() { | 90 PasswordForm::~PasswordForm() { |
| 91 } | 91 } |
| 92 | 92 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 form_json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &form_as_string); | 197 form_json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &form_as_string); |
| 198 base::TrimWhitespaceASCII(form_as_string, base::TRIM_ALL, &form_as_string); | 198 base::TrimWhitespaceASCII(form_as_string, base::TRIM_ALL, &form_as_string); |
| 199 return os << "PasswordForm(" << form_as_string << ")"; | 199 return os << "PasswordForm(" << form_as_string << ")"; |
| 200 } | 200 } |
| 201 | 201 |
| 202 std::ostream& operator<<(std::ostream& os, PasswordForm* form) { | 202 std::ostream& operator<<(std::ostream& os, PasswordForm* form) { |
| 203 return os << "&" << *form; | 203 return os << "&" << *form; |
| 204 } | 204 } |
| 205 | 205 |
| 206 } // namespace autofill | 206 } // namespace autofill |
| OLD | NEW |