| Index: components/autofill/core/browser/ui/autofill_dialog_common.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.cc b/components/autofill/core/browser/ui/autofill_dialog_common.cc
|
| similarity index 94%
|
| rename from chrome/browser/ui/autofill/autofill_dialog_common.cc
|
| rename to components/autofill/core/browser/ui/autofill_dialog_common.cc
|
| index fd2cadce4333e02f406500bec99a1db0662909b2..4c7a575ab3573d8748c70fb9da0411ef418c5157 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_common.cc
|
| +++ b/components/autofill/core/browser/ui/autofill_dialog_common.cc
|
| @@ -2,10 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/ui/autofill/autofill_dialog_common.h"
|
| +#include "components/autofill/core/browser/ui/autofill_dialog_common.h"
|
|
|
| #include "base/strings/utf_string_conversions.h"
|
| -#include "chrome/browser/browser_process.h"
|
| #include "components/autofill/core/browser/autofill_country.h"
|
| #include "components/autofill/core/browser/autofill_field.h"
|
| #include "components/autofill/core/browser/autofill_type.h"
|
| @@ -37,9 +36,8 @@ bool ServerTypeEncompassesFieldType(ServerFieldType type,
|
|
|
| // The page may ask for individual address lines; this roughly matches the
|
| // street address blob.
|
| - if (server_type == ADDRESS_HOME_LINE1 ||
|
| - server_type == ADDRESS_HOME_LINE2 ||
|
| - server_type == ADDRESS_HOME_LINE3) {
|
| + if (server_type == ADDRESS_HOME_LINE1 || server_type == ADDRESS_HOME_LINE2 ||
|
| + server_type == ADDRESS_HOME_LINE3) {
|
| return autofill_type.GetStorableType() == ADDRESS_HOME_STREET_ADDRESS;
|
| }
|
|
|
|
|