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

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

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file Created 5 years 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
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 <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 #include "components/autofill/core/browser/field_types.h" 27 #include "components/autofill/core/browser/field_types.h"
28 #include "components/autofill/core/browser/form_field.h" 28 #include "components/autofill/core/browser/form_field.h"
29 #include "components/autofill/core/common/autofill_constants.h" 29 #include "components/autofill/core/common/autofill_constants.h"
30 #include "components/autofill/core/common/form_data.h" 30 #include "components/autofill/core/common/form_data.h"
31 #include "components/autofill/core/common/form_data_predictions.h" 31 #include "components/autofill/core/common/form_data_predictions.h"
32 #include "components/autofill/core/common/form_field_data.h" 32 #include "components/autofill/core/common/form_field_data.h"
33 #include "components/autofill/core/common/form_field_data_predictions.h" 33 #include "components/autofill/core/common/form_field_data_predictions.h"
34 #include "components/rappor/rappor_service.h" 34 #include "components/rappor/rappor_service.h"
35 #include "components/rappor/rappor_utils.h" 35 #include "components/rappor/rappor_utils.h"
36 #include "third_party/libxml/chromium/libxml_utils.h" 36 #include "third_party/libxml/chromium/libxml_utils.h"
37 #include "third_party/re2/re2/re2.h" 37 #include "third_party/re2/src/re2/re2.h"
38 38
39 namespace autofill { 39 namespace autofill {
40 namespace { 40 namespace {
41 41
42 // XML elements and attributes. 42 // XML elements and attributes.
43 const char kAttributeAutofillUsed[] = "autofillused"; 43 const char kAttributeAutofillUsed[] = "autofillused";
44 const char kAttributeAutofillType[] = "autofilltype"; 44 const char kAttributeAutofillType[] = "autofilltype";
45 const char kAttributeClientVersion[] = "clientversion"; 45 const char kAttributeClientVersion[] = "clientversion";
46 const char kAttributeSubmission[] = "submission"; 46 const char kAttributeSubmission[] = "submission";
47 const char kAttributeDataPresent[] = "datapresent"; 47 const char kAttributeDataPresent[] = "datapresent";
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 for (AutofillField* field : fields_) { 1355 for (AutofillField* field : fields_) {
1356 FieldTypeGroup field_type_group = field->Type().group(); 1356 FieldTypeGroup field_type_group = field->Type().group();
1357 if (field_type_group == CREDIT_CARD) 1357 if (field_type_group == CREDIT_CARD)
1358 field->set_section(field->section() + "-cc"); 1358 field->set_section(field->section() + "-cc");
1359 else 1359 else
1360 field->set_section(field->section() + "-default"); 1360 field->set_section(field->section() + "-default");
1361 } 1361 }
1362 } 1362 }
1363 1363
1364 } // namespace autofill 1364 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/password_form_conversion_utils.cc ('k') | components/dom_distiller/core/page_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698