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

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

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/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"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/sha1.h" 13 #include "base/sha1.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "components/autofill/browser/autofill_metrics.h"
20 #include "components/autofill/browser/autofill_type.h"
21 #include "components/autofill/browser/autofill_xml_parser.h"
22 #include "components/autofill/browser/field_types.h"
23 #include "components/autofill/browser/form_field.h"
24 #include "components/autofill/content/browser/autocheckout_page_meta_data.h" 19 #include "components/autofill/content/browser/autocheckout_page_meta_data.h"
20 #include "components/autofill/core/browser/autofill_metrics.h"
21 #include "components/autofill/core/browser/autofill_type.h"
22 #include "components/autofill/core/browser/autofill_xml_parser.h"
23 #include "components/autofill/core/browser/field_types.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/libjingle/source/talk/xmllite/xmlelement.h" 30 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
31 31
32 namespace autofill { 32 namespace autofill {
33 namespace { 33 namespace {
34 34
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 AutofillType::FieldTypeGroup field_type_group = 1213 AutofillType::FieldTypeGroup field_type_group =
1214 AutofillType((*field)->type()).group(); 1214 AutofillType((*field)->type()).group();
1215 if (field_type_group == AutofillType::CREDIT_CARD) 1215 if (field_type_group == AutofillType::CREDIT_CARD)
1216 (*field)->set_section((*field)->section() + "-cc"); 1216 (*field)->set_section((*field)->section() + "-cc");
1217 else 1217 else
1218 (*field)->set_section((*field)->section() + "-default"); 1218 (*field)->set_section((*field)->section() + "-default");
1219 } 1219 }
1220 } 1220 }
1221 1221
1222 } // namespace autofill 1222 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/form_structure.h ('k') | components/autofill/core/browser/form_structure_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698