Index: chrome/browser/autofill/personal_data_manager.cc |
diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc |
index 09506b90ad2debe5d5a4549abb6806ecfbfa35a7..8554064766ceebd56d20ab168f91a943eaf4adda 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. |