| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/autofill_xml_parser.h" | 5 #include "components/autofill/core/browser/autofill_xml_parser.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "components/autofill/browser/autofill_server_field_info.h" | |
| 12 #include "components/autofill/content/browser/autocheckout_page_meta_data.h" | 11 #include "components/autofill/content/browser/autocheckout_page_meta_data.h" |
| 12 #include "components/autofill/core/browser/autofill_server_field_info.h" |
| 13 #include "third_party/libjingle/source/talk/xmllite/qname.h" | 13 #include "third_party/libjingle/source/talk/xmllite/qname.h" |
| 14 | 14 |
| 15 namespace autofill { | 15 namespace autofill { |
| 16 | 16 |
| 17 AutofillXmlParser::AutofillXmlParser() | 17 AutofillXmlParser::AutofillXmlParser() |
| 18 : succeeded_(true) { | 18 : succeeded_(true) { |
| 19 } | 19 } |
| 20 | 20 |
| 21 AutofillXmlParser::~AutofillXmlParser() {} | 21 AutofillXmlParser::~AutofillXmlParser() {} |
| 22 | 22 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 char* attr_end = NULL; | 214 char* attr_end = NULL; |
| 215 double value = strtod(attribute, &attr_end); | 215 double value = strtod(attribute, &attr_end); |
| 216 if (attr_end != NULL && attr_end == attribute) { | 216 if (attr_end != NULL && attr_end == attribute) { |
| 217 context->RaiseError(XML_ERROR_SYNTAX); | 217 context->RaiseError(XML_ERROR_SYNTAX); |
| 218 return 0.0; | 218 return 0.0; |
| 219 } | 219 } |
| 220 return value; | 220 return value; |
| 221 } | 221 } |
| 222 | 222 |
| 223 } // namespace autofill | 223 } // namespace autofill |
| OLD | NEW |