| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_FORM_GROUP_H_ | 5 #ifndef CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ | 6 #define CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // matches given the type. | 42 // matches given the type. |
| 43 virtual void FindInfoMatches(const AutoFillType& type, | 43 virtual void FindInfoMatches(const AutoFillType& type, |
| 44 const string16& info, | 44 const string16& info, |
| 45 std::vector<string16>* matched_text) const = 0; | 45 std::vector<string16>* matched_text) const = 0; |
| 46 | 46 |
| 47 // Used to populate this FormGroup object with data. | 47 // Used to populate this FormGroup object with data. |
| 48 virtual void SetInfo(const AutoFillType& type, const string16& value) = 0; | 48 virtual void SetInfo(const AutoFillType& type, const string16& value) = 0; |
| 49 | 49 |
| 50 // Returns the label for this FormGroup item. This should be overridden for | 50 // Returns the label for this FormGroup item. This should be overridden for |
| 51 // form group items that implement a label. | 51 // form group items that implement a label. |
| 52 virtual string16 Label() const { return EmptyString16(); } | 52 virtual string16 Label() const { return string16(); } |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 #endif // CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ | 55 #endif // CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ |
| OLD | NEW |