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..16ae0d08996e443d031ec8a1cd8f3c8bbf47ed97 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 GetPageNo() { return page_no_; } |
|
Ilya Sherman
2012/12/13 02:29:23
nit: Please spell out "number". This method shoul
Raman Kakilate
2012/12/13 21:34:34
Done.
|
| + |
| + int GetTotalPages() { return total_pages_; } |
|
Ilya Sherman
2012/12/13 02:29:23
nit: This method should be named total_pages()
Raman Kakilate
2012/12/13 21:34:34
Done.
|
| + |
| 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. |
|
Ilya Sherman
2012/12/13 02:29:23
Why is the XML server responsible for keeping trac
Raman Kakilate
2012/12/13 21:34:34
Idea is show autofill_dialog_controller UI on the
Ilya Sherman
2012/12/13 23:23:18
That all makes sense. What I don't understand is
Raman Kakilate
2013/01/10 00:54:40
Server sending down data for all the possible flow
|
| + int page_no_; |
| + |
| + // 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_; |