Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: components/autofill/core/browser/form_structure.cc

Issue 545003004: Roll WebRTC 7011:7046 libjingle: 7007:7045 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/autofill/core/browser/autofill_xml_parser_unittest.cc ('k') | jingle/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_structure.h" 5 #include "components/autofill/core/browser/form_structure.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 10 matching lines...) Expand all
21 #include "components/autofill/core/browser/autofill_type.h" 21 #include "components/autofill/core/browser/autofill_type.h"
22 #include "components/autofill/core/browser/autofill_xml_parser.h" 22 #include "components/autofill/core/browser/autofill_xml_parser.h"
23 #include "components/autofill/core/browser/field_types.h" 23 #include "components/autofill/core/browser/field_types.h"
24 #include "components/autofill/core/browser/form_field.h" 24 #include "components/autofill/core/browser/form_field.h"
25 #include "components/autofill/core/common/autofill_constants.h" 25 #include "components/autofill/core/common/autofill_constants.h"
26 #include "components/autofill/core/common/form_data.h" 26 #include "components/autofill/core/common/form_data.h"
27 #include "components/autofill/core/common/form_data_predictions.h" 27 #include "components/autofill/core/common/form_data_predictions.h"
28 #include "components/autofill/core/common/form_field_data.h" 28 #include "components/autofill/core/common/form_field_data.h"
29 #include "components/autofill/core/common/form_field_data_predictions.h" 29 #include "components/autofill/core/common/form_field_data_predictions.h"
30 #include "third_party/icu/source/i18n/unicode/regex.h" 30 #include "third_party/icu/source/i18n/unicode/regex.h"
31 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 31 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
32 32
33 namespace autofill { 33 namespace autofill {
34 namespace { 34 namespace {
35 35
36 // XML elements and attributes. 36 // XML elements and attributes.
37 const char kAttributeAutofillUsed[] = "autofillused"; 37 const char kAttributeAutofillUsed[] = "autofillused";
38 const char kAttributeAutofillType[] = "autofilltype"; 38 const char kAttributeAutofillType[] = "autofilltype";
39 const char kAttributeClientVersion[] = "clientversion"; 39 const char kAttributeClientVersion[] = "clientversion";
40 const char kAttributeDataPresent[] = "datapresent"; 40 const char kAttributeDataPresent[] = "datapresent";
41 const char kAttributeFieldID[] = "fieldid"; 41 const char kAttributeFieldID[] = "fieldid";
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1228 field != fields_.end(); ++field) { 1228 field != fields_.end(); ++field) {
1229 FieldTypeGroup field_type_group = (*field)->Type().group(); 1229 FieldTypeGroup field_type_group = (*field)->Type().group();
1230 if (field_type_group == CREDIT_CARD) 1230 if (field_type_group == CREDIT_CARD)
1231 (*field)->set_section((*field)->section() + "-cc"); 1231 (*field)->set_section((*field)->section() + "-cc");
1232 else 1232 else
1233 (*field)->set_section((*field)->section() + "-default"); 1233 (*field)->set_section((*field)->section() + "-default");
1234 } 1234 }
1235 } 1235 }
1236 1236
1237 } // namespace autofill 1237 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_xml_parser_unittest.cc ('k') | jingle/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698