Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: chrome/browser/ui/webui/options/autofill_options_handler.h

Issue 1868003003: Preserving first/middle/last names when an Autofill profile is submitted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing stevenjb nits Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/autofill_options_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/autofill_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698