Chromium Code Reviews| Index: chrome/browser/autofill/autofill_xml_parser.h |
| diff --git a/chrome/browser/autofill/autofill_xml_parser.h b/chrome/browser/autofill/autofill_xml_parser.h |
| index da3d5bf661a3ebf33a33af49635ad6940cd55cdc..42df566965bf3bb6954fc7d885768371cd54e5e6 100644 |
| --- a/chrome/browser/autofill/autofill_xml_parser.h |
| +++ b/chrome/browser/autofill/autofill_xml_parser.h |
| @@ -70,6 +70,10 @@ class AutofillQueryXmlParser : public AutofillXmlParser { |
| UploadRequired* upload_required, |
| std::string* experiment_id); |
| + int current_page_number() const { return current_page_number_; } |
| + |
| + int total_pages() const { return total_pages_; } |
|
Ilya Sherman
2013/01/15 06:31:52
nit: For symmetry, please either store pointers to
|
| + |
| private: |
| // A callback for the beginning of a new <element>, called by Expat. |
| // |context| is a parsing context used to resolve element/attribute names. |
| @@ -92,6 +96,12 @@ class AutofillQueryXmlParser : public AutofillXmlParser { |
| // form is submitted. |
| UploadRequired* upload_required_; |
| + // Page number of present page in multipage autofill flow. |
| + int current_page_number_; |
| + |
| + // Total number of pages in multipage autofill flow. |
| + int total_pages_; |
| + |
| // The server experiment to which this query response belongs. |
| // For the default server implementation, this is empty. |
| std::string* experiment_id_; |