| Index: chrome/browser/autofill/autofill_scanner.h
|
| diff --git a/chrome/browser/autofill/autofill_scanner.h b/chrome/browser/autofill/autofill_scanner.h
|
| index e8c1f569bb940f60505c7ae351cbe4801f26ac14..7fc8f309b71b49dc76ab104e02f208f77d29b592 100644
|
| --- a/chrome/browser/autofill/autofill_scanner.h
|
| +++ b/chrome/browser/autofill/autofill_scanner.h
|
| @@ -31,9 +31,14 @@ class AutofillScanner {
|
| // Returns the most recently saved cursor -- see also |SaveCursor()|.
|
| void Rewind();
|
|
|
| + // Returns the specified |index| saved cursor. |index| must be the return
|
| + // value of |SaveCursor()|.
|
| + void RewindTo(size_t position);
|
| +
|
| // Saves the current cursor position. Multiple cursor positions can be saved,
|
| - // with stack ordering semantics. See also |Rewind()|.
|
| - void SaveCursor();
|
| + // with stack ordering semantics. Returns the saved cursor position.
|
| + // See also |Rewind()|.
|
| + size_t SaveCursor();
|
|
|
| private:
|
| // Indicates the current position in the stream, represented as a vector.
|
|
|