| 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_SCANNER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_SCANNER_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_SCANNER_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_SCANNER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 | 12 |
| 13 class AutofillField; | 13 class AutofillField; |
| 14 | 14 |
| 15 // A helper class for parsing a stream of |AutofillField|'s with lookahead. | 15 // A helper class for parsing a stream of |AutofillField|'s with lookahead. |
| 16 class AutofillScanner { | 16 class AutofillScanner { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 47 | 47 |
| 48 // The beginning pointer for the stream. | 48 // The beginning pointer for the stream. |
| 49 const std::vector<const AutofillField*>::const_iterator begin_; | 49 const std::vector<const AutofillField*>::const_iterator begin_; |
| 50 | 50 |
| 51 // The past-the-end pointer for the stream. | 51 // The past-the-end pointer for the stream. |
| 52 const std::vector<const AutofillField*>::const_iterator end_; | 52 const std::vector<const AutofillField*>::const_iterator end_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(AutofillScanner); | 54 DISALLOW_COPY_AND_ASSIGN(AutofillScanner); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_SCANNER_H_ | 57 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_SCANNER_H_ |
| OLD | NEW |