| 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 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ | 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ | 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/compiler_specific.h" |
| 13 #include "chrome/browser/autofill/field_types.h" | 14 #include "chrome/browser/autofill/field_types.h" |
| 14 #include "chrome/browser/autofill/form_structure.h" | 15 #include "chrome/browser/autofill/form_structure.h" |
| 15 #include "third_party/expat/files/lib/expat.h" | 16 #include "third_party/expat/files/lib/expat.h" |
| 16 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" | 17 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" |
| 17 | 18 |
| 18 // The base class that contains common functionality between | 19 // The base class that contains common functionality between |
| 19 // AutofillQueryXmlParser and AutofillUploadXmlParser. | 20 // AutofillQueryXmlParser and AutofillUploadXmlParser. |
| 20 class AutofillXmlParser : public buzz::XmlParseHandler { | 21 class AutofillXmlParser : public buzz::XmlParseHandler { |
| 21 public: | 22 public: |
| 22 AutofillXmlParser(); | 23 AutofillXmlParser(); |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // True if parsing succeeded. | 135 // True if parsing succeeded. |
| 135 bool succeeded_; | 136 bool succeeded_; |
| 136 | 137 |
| 137 double* positive_upload_rate_; | 138 double* positive_upload_rate_; |
| 138 double* negative_upload_rate_; | 139 double* negative_upload_rate_; |
| 139 | 140 |
| 140 DISALLOW_COPY_AND_ASSIGN(AutofillUploadXmlParser); | 141 DISALLOW_COPY_AND_ASSIGN(AutofillUploadXmlParser); |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ | 144 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_XML_PARSER_H_ |
| OLD | NEW |