Home
last modified time | relevance | path

Searched refs:personal_data_ (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/components/autofill/core/browser/
Dpersonal_data_manager_unittest.cc94 personal_data_.reset(NULL); in TearDown()
115 personal_data_.reset(new PersonalDataManager("en-US")); in ResetPersonalDataManager()
116 personal_data_->Init( in ResetPersonalDataManager()
120 personal_data_->AddObserver(&personal_data_observer_); in ResetPersonalDataManager()
141 scoped_ptr<PersonalDataManager> personal_data_; member in autofill::PersonalDataManagerTest
149 personal_data_->AddProfile(profile0); in TEST_F()
155 const std::vector<AutofillProfile*>& results1 = personal_data_->GetProfiles(); in TEST_F()
162 personal_data_->AddProfile(profile0a); in TEST_F()
168 const std::vector<AutofillProfile*>& results2 = personal_data_->GetProfiles(); in TEST_F()
180 personal_data_->AddProfile(profile1); in TEST_F()
[all …]
Dautofill_manager.cc174 personal_data_(delegate->GetPersonalDataManager()), in AutofillManager()
260 const std::vector<AutofillProfile*>& profiles = personal_data_->GetProfiles(); in OnFormSubmitted()
262 personal_data_->GetCreditCards(); in OnFormSubmitted()
584 personal_data_->RemoveByGUID(data_model->guid()); in RemoveAutofillProfileOrCreditCard()
656 if (!personal_data_->ImportFormData(submitted_form, &imported_credit_card)) in ImportFormData()
666 base::Unretained(personal_data_), *imported_credit_card)); in ImportFormData()
704 personal_data_->GetNonEmptyTypes(&non_empty_types); in UploadFormData()
779 personal_data_(personal_data), in AutofillManager()
805 if (personal_data_->GetProfiles().empty() && in RefreshDataModels()
806 personal_data_->GetCreditCards().empty()) { in RefreshDataModels()
[all …]
Dautofill_merge_unittest.cc154 PersonalDataManagerMock personal_data_; member in autofill::AutofillMergeTest
184 personal_data_.Reset(); in MergeProfiles()
232 personal_data_.ImportFormData(form_structure, &imported_credit_card); in MergeProfiles()
240 *merged_profiles = SerializeProfiles(personal_data_.web_profiles()); in MergeProfiles()
Dautofill_metrics_unittest.cc268 scoped_ptr<TestPersonalDataManager> personal_data_; member in autofill::AutofillMetricsTest
290 personal_data_.reset(new TestPersonalDataManager()); in SetUp()
291 personal_data_->set_database(manager_delegate->GetDatabase()); in SetUp()
292 personal_data_->set_pref_service(profile()->GetPrefs()); in SetUp()
295 autofill_driver_.get(), manager_delegate, personal_data_.get())); in SetUp()
308 personal_data_.reset(); in TearDown()
322 base::Unretained(personal_data_.get()), credit_card)); in CreateDelegate()
990 EXPECT_CALL(*personal_data_->metric_logger(), in TEST_F()
992 personal_data_->LoadProfiles(); in TEST_F()
995 EXPECT_CALL(*personal_data_->metric_logger(), in TEST_F()
[all …]
Dautofill_manager_unittest.cc408 personal_data_(personal_data), in TestAutofillManager()
484 return personal_data_->GetProfileWithGUID(guid); in GetProfileWithGUID()
488 return personal_data_->GetCreditCardWithGUID(guid); in GetCreditCardWithGUID()
492 personal_data_->AddProfile(profile); in AddProfile()
496 personal_data_->AddCreditCard(credit_card); in AddCreditCard()
516 TestPersonalDataManager* personal_data_; member in autofill::__anonefbb5b310111::TestAutofillManager
629 personal_data_.set_database(manager_delegate->GetDatabase()); in SetUp()
630 personal_data_.set_pref_service(profile()->GetPrefs()); in SetUp()
633 autofill_driver_.get(), manager_delegate, &personal_data_)); in SetUp()
653 personal_data_.set_database(scoped_refptr<AutofillWebDataService>(NULL)); in TearDown()
[all …]
/external/chromium/chrome/browser/autofill/
Dpersonal_data_manager_unittest.cc64 personal_data_ = NULL; in TearDown()
74 personal_data_ = new PersonalDataManager(); in ResetPersonalDataManager()
75 personal_data_->Init(profile_.get()); in ResetPersonalDataManager()
76 personal_data_->SetObserver(&personal_data_observer_); in ResetPersonalDataManager()
84 scoped_refptr<PersonalDataManager> personal_data_; member in PersonalDataManagerTest
122 personal_data_->SetProfiles(&update); in TEST_F()
124 const std::vector<AutofillProfile*>& results1 = personal_data_->profiles(); in TEST_F()
137 personal_data_->SetProfiles(&update); in TEST_F()
139 const std::vector<AutofillProfile*>& results2 = personal_data_->profiles(); in TEST_F()
158 const std::vector<AutofillProfile*>& results3 = personal_data_->profiles(); in TEST_F()
[all …]
Dautofill_merge_unittest.cc130 scoped_refptr<PersonalDataManagerMock> personal_data_; member in AutofillMergeTest
145 personal_data_ = new PersonalDataManagerMock(); in SetUp()
156 personal_data_->Reset(); in MergeProfiles()
206 personal_data_->ImportFormData(form_structures, &imported_credit_card); in MergeProfiles()
214 *merged_profiles = SerializeProfiles(personal_data_->web_profiles()); in MergeProfiles()
Dautofill_manager.cc234 personal_data_(NULL), in AutofillManager()
243 personal_data_ = in AutofillManager()
383 personal_data_->profiles(), personal_data_->credit_cards(), &host) && in OnQueryFormFieldAutofill()
481 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles(); in OnFillAutofillFormData()
482 const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards(); in OnFillAutofillFormData()
686 personal_data_->GetPossibleFieldTypes(field->value, &field_types); in DeterminePossibleFieldTypesForUpload()
698 if (!personal_data_->ImportFormData(submitted_forms, &imported_credit_card)) in ImportFormData()
709 personal_data_, in ImportFormData()
746 personal_data_(personal_data), in AutofillManager()
845 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles();
[all …]
Dautofill_cc_infobar_delegate.cc24 personal_data_(personal_data), in AutofillCCInfoBarDelegate()
79 personal_data_->SaveImportedCreditCard(*credit_card_); in Accept()
Dautofill_cc_infobar_delegate.h56 PersonalDataManager* personal_data_; variable
Dautofill_manager.h135 personal_data_ = personal_data; in set_personal_data_manager()
249 PersonalDataManager* personal_data_; variable
/external/chromium/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc121 : personal_data_(NULL) { in AutofillOptionsHandler()
125 if (personal_data_) in ~AutofillOptionsHandler()
126 personal_data_->RemoveObserver(this); in ~AutofillOptionsHandler()
159 personal_data_ = web_ui_->GetProfile()->GetPersonalDataManager(); in Initialize()
160 personal_data_->SetObserver(this); in Initialize()
247 if (!personal_data_->IsDataLoaded()) in LoadAutofillData()
252 personal_data_->web_profiles().begin(); in LoadAutofillData()
253 i != personal_data_->web_profiles().end(); ++i) { in LoadAutofillData()
264 personal_data_->credit_cards().begin(); in LoadAutofillData()
265 i != personal_data_->credit_cards().end(); ++i) { in LoadAutofillData()
[all …]
Dautofill_options_handler.h73 PersonalDataManager* personal_data_; variable
/external/chromium_org/chrome/browser/sync/glue/
Dautofill_profile_data_type_controller.cc32 personal_data_(NULL), in AutofillProfileDataTypeController()
53 personal_data_->RemoveObserver(this); in OnPersonalDataChanged()
85 personal_data_ = in StartModels()
87 if (!personal_data_->IsDataLoaded()) { in StartModels()
88 personal_data_->AddObserver(this); in StartModels()
113 personal_data_->RemoveObserver(this); in StopModels()
Dautofill_profile_data_type_controller.h50 autofill::PersonalDataManager* personal_data_; variable
/external/chromium/android/autofill/
Dprofile_android.cc57 if (!personal_data_) { in GetPersonalDataManager()
58 personal_data_ = new PersonalDataManager(); in GetPersonalDataManager()
59 personal_data_->Init(this); in GetPersonalDataManager()
62 return personal_data_.get(); in GetPersonalDataManager()
/external/chromium_org/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc244 : personal_data_(NULL) {} in AutofillOptionsHandler()
247 if (personal_data_) in ~AutofillOptionsHandler()
248 personal_data_->RemoveObserver(this); in ~AutofillOptionsHandler()
284 if (personal_data_) in InitializeHandler()
285 personal_data_->AddObserver(this); in InitializeHandler()
289 if (personal_data_) in InitializePage()
294 personal_data_ = autofill::PersonalDataManagerFactory::GetForProfile( in RegisterMessages()
362 SetCountryData(*personal_data_, localized_strings); in SetAddressOverlayStrings()
382 personal_data_->web_profiles(); in LoadAutofillData()
398 const std::vector<CreditCard*>& cards = personal_data_->GetCreditCards(); in LoadAutofillData()
[all …]
Dautofill_options_handler.h88 autofill::PersonalDataManager* personal_data_; variable
/external/chromium/chrome/browser/sync/glue/
Dautofill_data_type_controller.cc30 personal_data_(NULL), in AutofillDataTypeController()
66 personal_data_ = profile_->GetPersonalDataManager(); in Start()
67 if (!personal_data_->IsDataLoaded()) { in Start()
69 personal_data_->SetObserver(this); in Start()
93 personal_data_->RemoveObserver(this); in OnPersonalDataLoaded()
143 personal_data_->RemoveObserver(this); in Stop()
Dautofill_profile_model_associator.cc25 personal_data_(personal_data), in AutofillProfileModelAssociator()
32 DCHECK(personal_data_); in AutofillProfileModelAssociator()
42 personal_data_(NULL), in AutofillProfileModelAssociator()
197 new DoOptimisticRefreshForAutofill(personal_data_)); in AssociateModels()
Dautofill_profile_change_processor.h114 PersonalDataManager* personal_data_; variable
Dautofill_data_type_controller.h97 PersonalDataManager* personal_data_; variable
Dautofill_change_processor.h123 PersonalDataManager* personal_data_; variable
Dautofill_profile_change_processor.cc37 personal_data_(personal_data_manager) { in AutofillProfileChangeProcessor()
205 personal_data_)); in PostOptimisticRefreshTask()
Dautofill_model_associator.cc49 personal_data_(personal_data), in AutofillModelAssociator()
56 DCHECK(personal_data_); in AutofillModelAssociator()
198 new DoOptimisticRefreshForAutofill(personal_data_)); in AssociateModels()

12