| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/autofill/core/browser/detail_input.h" |
| 6 |
| 7 namespace autofill { |
| 8 |
| 9 // Street address is multi-line, except in countries where it shares a line |
| 10 // with other inputs (such as Coite d'Ivoire). |
| 11 bool DetailInput::IsMultiline() const { |
| 12 return (type == ADDRESS_HOME_STREET_ADDRESS || |
| 13 type == ADDRESS_BILLING_STREET_ADDRESS) && |
| 14 length == DetailInput::LONG; |
| 15 } |
| 16 |
| 17 } // namespace autofill |
| OLD | NEW |