| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_WEBUI_OPTIONS_AUTOFILL_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOFILL_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOFILL_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOFILL_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 // Fills in |address| with the data format that the options js expects. | 100 // Fills in |address| with the data format that the options js expects. |
| 101 static void AutofillProfileToDictionary( | 101 static void AutofillProfileToDictionary( |
| 102 const autofill::AutofillProfile& profile, | 102 const autofill::AutofillProfile& profile, |
| 103 base::DictionaryValue* address); | 103 base::DictionaryValue* address); |
| 104 | 104 |
| 105 // The personal data manager, used to load Autofill profiles and credit cards. | 105 // The personal data manager, used to load Autofill profiles and credit cards. |
| 106 // Unowned pointer, may not be NULL. | 106 // Unowned pointer, may not be NULL. |
| 107 autofill::PersonalDataManager* personal_data_; | 107 autofill::PersonalDataManager* personal_data_; |
| 108 | 108 |
| 109 // The profile which was last used to populate the Address Editor. Unowned; |
| 110 // not populated until LoadAdressEditor is called. |
| 111 autofill::AutofillProfile* prior_profile_; |
| 112 |
| 109 DISALLOW_COPY_AND_ASSIGN(AutofillOptionsHandler); | 113 DISALLOW_COPY_AND_ASSIGN(AutofillOptionsHandler); |
| 110 }; | 114 }; |
| 111 | 115 |
| 112 } // namespace options | 116 } // namespace options |
| 113 | 117 |
| 114 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOFILL_OPTIONS_HANDLER_H_ | 118 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOFILL_OPTIONS_HANDLER_H_ |
| OLD | NEW |