| 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 COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_CHANGE_H__ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_CHANGE_H__ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_CHANGE_H__ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_CHANGE_H__ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "components/autofill/browser/webdata/autofill_entry.h" | 10 #include "components/autofill/core/browser/webdata/autofill_entry.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 | 13 |
| 14 class AutofillProfile; | 14 class AutofillProfile; |
| 15 class CreditCard; | 15 class CreditCard; |
| 16 | 16 |
| 17 // For classic Autofill form fields, the KeyType is AutofillKey. | 17 // For classic Autofill form fields, the KeyType is AutofillKey. |
| 18 // Autofill++ types such as AutofillProfile and CreditCard simply use an int. | 18 // Autofill++ types such as AutofillProfile and CreditCard simply use an int. |
| 19 template <typename KeyType> | 19 template <typename KeyType> |
| 20 class GenericAutofillChange { | 20 class GenericAutofillChange { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const AutofillProfile* profile() const { return profile_; } | 66 const AutofillProfile* profile() const { return profile_; } |
| 67 bool operator==(const AutofillProfileChange& change) const; | 67 bool operator==(const AutofillProfileChange& change) const; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 // Weak reference, can be NULL. | 70 // Weak reference, can be NULL. |
| 71 const AutofillProfile* profile_; | 71 const AutofillProfile* profile_; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace autofill | 74 } // namespace autofill |
| 75 | 75 |
| 76 #endif // COMPONENTS_AUTOFILL_BROWSER_WEBDATA_AUTOFILL_CHANGE_H__ | 76 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_CHANGE_H__ |
| OLD | NEW |