summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/rationalization_util.h
blob: d3f41011d57e1312e802d092221b92657547fb6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_RATIONALIZATION_UTIL_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_RATIONALIZATION_UTIL_H_

#include <vector>

namespace autofill {

class AutofillField;

namespace rationalization_util {

// Helper function that rationalizes phone numbers fields in the given
// vector of fields. The vector of fields are expected to have all fields
// for a certain section.
void RationalizePhoneNumberFields(
    std::vector<AutofillField*>& fields_in_section);

}  // namespace rationalization_util
}  // namespace autofill

#endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_RATIONALIZATION_UTIL_H_