diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 00:01:26 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-22 00:01:26 +0000 |
commit | 3b12395d378c0740947438ddeb770de52ad3162a (patch) | |
tree | a3573b925e0039ab60a6ad110a47b05d0ffc3cef /chrome/browser/autofill/personal_data_manager.h | |
parent | e8c82c8fc20170b52ca31b1315bd78009c481373 (diff) | |
download | chromium_src-3b12395d378c0740947438ddeb770de52ad3162a.zip chromium_src-3b12395d378c0740947438ddeb770de52ad3162a.tar.gz chromium_src-3b12395d378c0740947438ddeb770de52ad3162a.tar.bz2 |
autofill: Add GetProfileById function to PersonalDataManager.
BUG=None
TEST=crl --enable-tabbed-options. The AutoFill options should works as before.
Review URL: http://codereview.chromium.org/4015003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/personal_data_manager.h')
-rw-r--r-- | chrome/browser/autofill/personal_data_manager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/autofill/personal_data_manager.h b/chrome/browser/autofill/personal_data_manager.h index 194c1f7..26f5b6f 100644 --- a/chrome/browser/autofill/personal_data_manager.h +++ b/chrome/browser/autofill/personal_data_manager.h @@ -109,6 +109,10 @@ class PersonalDataManager // Removes the profile represented by |unique_id|. void RemoveProfile(int unique_id); + // Returns the profile with the specified |unique_id|, or NULL if there is no + // profile with the specified |unique_id|. + AutoFillProfile* GetProfileById(int unique_id); + // Adds |credit_card| to the web database. void AddCreditCard(const CreditCard& credit_card); |