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

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

Issue 543433002: Roll WebRTC 7011:7046 libjingle: 7007:7045 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium 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
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/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/core/browser/autofill_server_field_info.h" 11 #include "components/autofill/core/browser/autofill_server_field_info.h"
12 #include "third_party/libjingle/source/talk/xmllite/qname.h" 12 #include "third_party/webrtc/libjingle/xmllite/qname.h"
13 13
14 namespace autofill { 14 namespace autofill {
15 15
16 AutofillXmlParser::AutofillXmlParser() 16 AutofillXmlParser::AutofillXmlParser()
17 : succeeded_(true) { 17 : succeeded_(true) {
18 } 18 }
19 19
20 AutofillXmlParser::~AutofillXmlParser() {} 20 AutofillXmlParser::~AutofillXmlParser() {}
21 21
22 void AutofillXmlParser::CharacterData( 22 void AutofillXmlParser::CharacterData(
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 char* attr_end = NULL; 173 char* attr_end = NULL;
174 double value = strtod(attribute, &attr_end); 174 double value = strtod(attribute, &attr_end);
175 if (attr_end != NULL && attr_end == attribute) { 175 if (attr_end != NULL && attr_end == attribute) {
176 context->RaiseError(XML_ERROR_SYNTAX); 176 context->RaiseError(XML_ERROR_SYNTAX);
177 return 0.0; 177 return 0.0;
178 } 178 }
179 return value; 179 return value;
180 } 180 }
181 181
182 } // namespace autofill 182 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698