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

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

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac Created 7 years, 2 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 | Annotate | Revision Log
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 27 matching lines...) Expand all
38 const char kAttributeAcceptedFeatures[] = "accepts"; 38 const char kAttributeAcceptedFeatures[] = "accepts";
39 const char kAttributeAutofillUsed[] = "autofillused"; 39 const char kAttributeAutofillUsed[] = "autofillused";
40 const char kAttributeAutofillType[] = "autofilltype"; 40 const char kAttributeAutofillType[] = "autofilltype";
41 const char kAttributeClientVersion[] = "clientversion"; 41 const char kAttributeClientVersion[] = "clientversion";
42 const char kAttributeDataPresent[] = "datapresent"; 42 const char kAttributeDataPresent[] = "datapresent";
43 const char kAttributeFieldID[] = "fieldid"; 43 const char kAttributeFieldID[] = "fieldid";
44 const char kAttributeFieldType[] = "fieldtype"; 44 const char kAttributeFieldType[] = "fieldtype";
45 const char kAttributeFormSignature[] = "formsignature"; 45 const char kAttributeFormSignature[] = "formsignature";
46 const char kAttributeName[] = "name"; 46 const char kAttributeName[] = "name";
47 const char kAttributeSignature[] = "signature"; 47 const char kAttributeSignature[] = "signature";
48 const char kAttributeUrlprefixSignature[] = "urlprefixsignature";
49 const char kAcceptedFeaturesExperiment[] = "e"; // e=experiments 48 const char kAcceptedFeaturesExperiment[] = "e"; // e=experiments
50 const char kClientVersion[] = "6.1.1715.1442/en (GGLL)"; 49 const char kClientVersion[] = "6.1.1715.1442/en (GGLL)";
51 const char kXMLDeclaration[] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; 50 const char kXMLDeclaration[] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
52 const char kXMLElementAutofillQuery[] = "autofillquery"; 51 const char kXMLElementAutofillQuery[] = "autofillquery";
53 const char kXMLElementAutofillUpload[] = "autofillupload"; 52 const char kXMLElementAutofillUpload[] = "autofillupload";
54 const char kXMLElementFieldAssignments[] = "fieldassignments"; 53 const char kXMLElementFieldAssignments[] = "fieldassignments";
55 const char kXMLElementField[] = "field"; 54 const char kXMLElementField[] = "field";
56 const char kXMLElementFields[] = "fields"; 55 const char kXMLElementFields[] = "fields";
57 const char kXMLElementForm[] = "form"; 56 const char kXMLElementForm[] = "form";
58 const char kBillingMode[] = "billing"; 57 const char kBillingMode[] = "billing";
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 field != fields_.end(); ++field) { 1200 field != fields_.end(); ++field) {
1202 FieldTypeGroup field_type_group = (*field)->Type().group(); 1201 FieldTypeGroup field_type_group = (*field)->Type().group();
1203 if (field_type_group == CREDIT_CARD) 1202 if (field_type_group == CREDIT_CARD)
1204 (*field)->set_section((*field)->section() + "-cc"); 1203 (*field)->set_section((*field)->section() + "-cc");
1205 else 1204 else
1206 (*field)->set_section((*field)->section() + "-default"); 1205 (*field)->set_section((*field)->section() + "-default");
1207 } 1206 }
1208 } 1207 }
1209 1208
1210 } // namespace autofill 1209 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698