diff options
Diffstat (limited to 'chrome/browser/autofill/personal_data_manager.cc')
-rw-r--r-- | chrome/browser/autofill/personal_data_manager.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc index 09506b9..8554064 100644 --- a/chrome/browser/autofill/personal_data_manager.cc +++ b/chrome/browser/autofill/personal_data_manager.cc @@ -589,6 +589,10 @@ bool PersonalDataManager::HasPassword() { return !password_hash_.empty(); } +bool PersonalDataManager::IsDataLoaded() const { + return is_data_loaded_; +} + const std::vector<AutoFillProfile*>& PersonalDataManager::profiles() { // |profile_| is NULL in AutoFillManagerTest. bool auxiliary_profiles_enabled = profile_ ? profile_->GetPrefs()->GetBoolean( @@ -611,6 +615,14 @@ const std::vector<AutoFillProfile*>& PersonalDataManager::profiles() { return profiles_; } +const std::vector<AutoFillProfile*>& PersonalDataManager::web_profiles() { + return web_profiles_.get(); +} + +const std::vector<CreditCard*>& PersonalDataManager::credit_cards() { + return credit_cards_.get(); +} + AutoFillProfile* PersonalDataManager::CreateNewEmptyAutoFillProfileForDBThread( const string16& label) { // See comment in header for thread details. |