| 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 "components/autofill/core/browser/form_field.h" | 5 #include "components/autofill/core/browser/form_field.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 if ((match_type & MATCH_TELEPHONE) && type == "tel") | 180 if ((match_type & MATCH_TELEPHONE) && type == "tel") |
| 181 return true; | 181 return true; |
| 182 | 182 |
| 183 if ((match_type & MATCH_SELECT) && type == "select-one") | 183 if ((match_type & MATCH_SELECT) && type == "select-one") |
| 184 return true; | 184 return true; |
| 185 | 185 |
| 186 if ((match_type & MATCH_TEXT_AREA) && type == "textarea") | 186 if ((match_type & MATCH_TEXT_AREA) && type == "textarea") |
| 187 return true; | 187 return true; |
| 188 | 188 |
| 189 if ((match_type & MATCH_PASSWORD) && type == "password") |
| 190 return true; |
| 191 |
| 189 return false; | 192 return false; |
| 190 } | 193 } |
| 191 | 194 |
| 192 } // namespace autofill | 195 } // namespace autofill |
| OLD | NEW |