Rename GetIconID to GetIconId
[chromium-blink-merge.git] / components / autofill / core / browser / detail_input.cc
blob4d36d7502dc76ca2334282d3c2e489dcaf3800b9
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.
5 #include "components/autofill/core/browser/detail_input.h"
7 namespace autofill {
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;
17 } // namespace autofill