| OLD | NEW |
| 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_XML_PARSER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_XML_PARSER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_XML_PARSER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_XML_PARSER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "components/autofill/core/browser/autofill_server_field_info.h" | 14 #include "components/autofill/core/browser/autofill_server_field_info.h" |
| 15 #include "components/autofill/core/browser/field_types.h" | 15 #include "components/autofill/core/browser/field_types.h" |
| 16 #include "components/autofill/core/browser/form_structure.h" | 16 #include "components/autofill/core/browser/form_structure.h" |
| 17 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" | 17 #include "third_party/webrtc/libjingle/xmllite/xmlparser.h" |
| 18 | 18 |
| 19 namespace autofill { | 19 namespace autofill { |
| 20 | 20 |
| 21 // The base class that contains common functionality between | 21 // The base class that contains common functionality between |
| 22 // AutofillQueryXmlParser and AutofillUploadXmlParser. | 22 // AutofillQueryXmlParser and AutofillUploadXmlParser. |
| 23 class AutofillXmlParser : public buzz::XmlParseHandler { | 23 class AutofillXmlParser : public buzz::XmlParseHandler { |
| 24 public: | 24 public: |
| 25 AutofillXmlParser(); | 25 AutofillXmlParser(); |
| 26 virtual ~AutofillXmlParser(); | 26 virtual ~AutofillXmlParser(); |
| 27 | 27 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 double* positive_upload_rate_; | 147 double* positive_upload_rate_; |
| 148 double* negative_upload_rate_; | 148 double* negative_upload_rate_; |
| 149 | 149 |
| 150 DISALLOW_COPY_AND_ASSIGN(AutofillUploadXmlParser); | 150 DISALLOW_COPY_AND_ASSIGN(AutofillUploadXmlParser); |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 } // namespace autofill | 153 } // namespace autofill |
| 154 | 154 |
| 155 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_XML_PARSER_H_ | 155 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_XML_PARSER_H_ |
| OLD | NEW |