Home
last modified time | relevance | path

Searched refs:AutofillProfile (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium/chrome/browser/autofill/
Dautofill_profile_unittest.cc19 bool UpdateProfileLabel(AutofillProfile *profile) { in UpdateProfileLabel()
20 std::vector<AutofillProfile*> profiles; in UpdateProfileLabel()
22 return AutofillProfile::AdjustInferredLabels(&profiles); in UpdateProfileLabel()
31 AutofillProfile profile0; in TEST()
39 AutofillProfile profile00; in TEST()
48 AutofillProfile profile1; in TEST()
57 AutofillProfile profile2; in TEST()
67 AutofillProfile profile3; in TEST()
76 AutofillProfile profile4; in TEST()
85 AutofillProfile profile5; in TEST()
[all …]
Dautofill_profile.h35 AutofillProfile : public FormGroup {
37 explicit AutofillProfile(const std::string& guid);
40 AutofillProfile();
41 AutofillProfile(const AutofillProfile& profile);
42 virtual ~AutofillProfile();
44 AutofillProfile& operator=(const AutofillProfile& profile);
88 static bool AdjustInferredLabels(std::vector<AutofillProfile*>* profiles);
98 const std::vector<AutofillProfile*>* profiles,
114 int Compare(const AutofillProfile& profile) const;
117 int CompareMulti(const AutofillProfile& profile) const;
[all …]
Dautofill_profile.cc105 const string16 MultiString(const AutofillProfile& p, AutofillFieldType type) { in MultiString()
179 AutofillProfile::AutofillProfile(const std::string& guid) in AutofillProfile() function in AutofillProfile
183 AutofillProfile::AutofillProfile() in AutofillProfile() function in AutofillProfile
191 AutofillProfile::AutofillProfile(const AutofillProfile& profile) in AutofillProfile() function in AutofillProfile
196 AutofillProfile::~AutofillProfile() { in ~AutofillProfile()
199 AutofillProfile& AutofillProfile::operator=(const AutofillProfile& profile) { in operator =()
216 void AutofillProfile::GetPossibleFieldTypes( in GetPossibleFieldTypes()
224 void AutofillProfile::GetAvailableFieldTypes( in GetAvailableFieldTypes()
231 string16 AutofillProfile::GetInfo(AutofillFieldType type) const { in GetInfo()
240 void AutofillProfile::SetInfo(AutofillFieldType type, const string16& value) { in SetInfo()
[all …]
Dpersonal_data_manager.h99 void SetProfiles(std::vector<AutofillProfile>* profiles);
106 void AddProfile(const AutofillProfile& profile);
109 void UpdateProfile(const AutofillProfile& profile);
116 AutofillProfile* GetProfileByGUID(const std::string& guid);
146 const std::vector<AutofillProfile*>& profiles();
147 virtual const std::vector<AutofillProfile*>& web_profiles();
164 static bool IsValidLearnableProfile(const AutofillProfile& profile);
170 const AutofillProfile& profile,
171 const std::vector<AutofillProfile*>& existing_profiles,
172 std::vector<AutofillProfile>* merged_profiles);
[all …]
Dpersonal_data_manager.cc96 bool IsMinimumAddress(const AutofillProfile& profile) { in IsMinimumAddress()
141 std::vector<AutofillProfile*> profile_pointers(web_profiles_.size()); in OnWebDataServiceRequestDone()
144 AutofillProfile::AdjustInferredLabels(&profile_pointers); in OnWebDataServiceRequestDone()
201 scoped_ptr<AutofillProfile> imported_profile(new AutoFillProfile); in ImportFormData()
349 void PersonalDataManager::SetProfiles(std::vector<AutofillProfile>* profiles) { in SetProfiles()
356 std::mem_fun_ref(&AutofillProfile::IsEmpty)), in SetProfiles()
364 std::vector<AutofillProfile*> profile_pointers(profiles->size()); in SetProfiles()
366 address_of<AutofillProfile>); in SetProfiles()
367 AutofillProfile::AdjustInferredLabels(&profile_pointers); in SetProfiles()
375 for (std::vector<AutofillProfile*>::const_iterator iter = in SetProfiles()
[all …]
Dautofill_merge_unittest.cc47 std::string SerializeProfiles(const std::vector<AutofillProfile*>& profiles) { in SerializeProfiles()
77 virtual void SaveImportedProfile(const AutofillProfile& profile) OVERRIDE;
78 virtual const std::vector<AutofillProfile*>& web_profiles() OVERRIDE;
81 ScopedVector<AutofillProfile> profiles_;
97 const AutofillProfile& profile) { in SaveImportedProfile()
98 std::vector<AutofillProfile> profiles; in SaveImportedProfile()
100 profiles_.push_back(new AutofillProfile(profile)); in SaveImportedProfile()
103 const std::vector<AutofillProfile*>& PersonalDataManagerMock::web_profiles() { in web_profiles()
Dpersonal_data_manager_unittest.cc92 AutofillProfile profile0; in TEST_F()
98 AutofillProfile profile1; in TEST_F()
104 AutofillProfile profile2; in TEST_F()
119 std::vector<AutofillProfile> update; in TEST_F()
124 const std::vector<AutofillProfile*>& results1 = personal_data_->profiles(); 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()
233 AutofillProfile profile0; in TEST_F()
239 AutofillProfile profile1; in TEST_F()
263 std::vector<AutofillProfile> update; in TEST_F()
[all …]
Dpersonal_data_manager_mac.mm33 explicit AuxiliaryProfilesImpl(ScopedVector<AutofillProfile>* profiles)
44 AutofillProfile* profile);
45 void GetAddressBookAddresses(NSDictionary* address, AutofillProfile* profile);
48 AutofillProfile* profile);
51 AutofillProfile* profile);
55 ScopedVector<AutofillProfile>& profiles_;
62 // information and translates it to the internal list of |AutofillProfile| data
82 scoped_ptr<AutofillProfile> profile(new AutofillProfile(guid));
108 AutofillProfile* profile) {
128 AutofillProfile* profile) {
[all …]
Dautofill_common_test.h9 class AutofillProfile; variable
30 void SetProfileInfo(AutofillProfile* profile,
37 void SetProfileInfoWithGuid(AutofillProfile* profile,
Dselect_control_handler_unittest.cc99 AutofillProfile profile; in TEST()
117 AutofillProfile profile; in TEST()
135 AutofillProfile profile; in TEST()
153 AutofillProfile profile; in TEST()
Dautofill_manager.h32 class AutofillProfile; variable
174 bool GetHost(const std::vector<AutofillProfile*>& profiles,
225 void FillFormField(const AutofillProfile* profile,
233 void FillPhoneNumberField(const AutofillProfile* profile,
Dautofill_manager.cc481 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles(); in OnFillAutofillFormData()
506 const AutofillProfile* profile = NULL; in OnFillAutofillFormData()
508 for (std::vector<AutofillProfile*>::const_iterator iter = profiles.begin(); in OnFillAutofillFormData()
760 bool AutofillManager::GetHost(const std::vector<AutofillProfile*>& profiles,
845 const std::vector<AutofillProfile*>& profiles = personal_data_->profiles();
847 std::vector<AutofillProfile*> matched_profiles;
848 for (std::vector<AutofillProfile*>::const_iterator iter = profiles.begin();
850 AutofillProfile* profile = *iter;
879 AutofillProfile::CreateInferredLabels(&matched_profiles, &form_fields,
885 for (std::vector<AutofillProfile*>::const_iterator iter = profiles.begin();
[all …]
/external/chromium/chrome/browser/sync/glue/
Dautofill_profile_model_associator.h23 class AutofillProfile; variable
100 AutofillProfile* merge_into,
108 const std::vector<AutofillProfile*>& all_profiles_from_db,
110 std::vector<AutofillProfile*>* updated_profiles,
111 std::vector<AutofillProfile*>* new_profiles,
127 const AutofillProfile& profile,
128 std::vector<AutofillProfile*>* new_profiles,
148 bool LoadAutofillData(std::vector<AutofillProfile*>* profiles);
164 const AutofillProfile& profile,
192 std::vector<AutofillProfile*> updated_profiles;
[all …]
Dautofill_profile_model_associator_unittest.cc21 class AutofillProfile;
37 const std::vector<AutofillProfile*>& all_profiles_from_db, in TraverseAndAssociateChromeAutofillProfilesWrapper()
39 std::vector<AutofillProfile*>* updated_profiles, in TraverseAndAssociateChromeAutofillProfilesWrapper()
40 std::vector<AutofillProfile*>* new_profiles, in TraverseAndAssociateChromeAutofillProfilesWrapper()
55 bool(AutofillProfile*,
60 const AutofillProfile&,
61 std::vector<AutofillProfile*>*,
97 ScopedVector<AutofillProfile> profiles_from_web_db; in TEST_F()
111 AutofillProfile *profile = new AutofillProfile(guid); in TEST_F()
140 ScopedVector<AutofillProfile> profiles_from_web_db; in TEST_F()
[all …]
Dautofill_model_associator.h23 class AutofillProfile; variable
99 AutofillProfile* merge_into,
114 AutofillProfile* FindCorrespondingNodeFromWebDB(
116 const std::vector<AutofillProfile*>& all_profiles_from_db);
128 std::vector<AutofillProfile*>* profiles);
141 const std::vector<AutofillProfile*>& all_profiles_from_db,
143 std::vector<AutofillProfile*>* updated_profiles);
151 const std::vector<AutofillProfile*>& all_profiles_from_db);
169 const std::vector<AutofillProfile*>& all_profiles_from_db);
Dautofill_profile_model_associator.cc51 const std::vector<AutofillProfile*>& all_profiles_from_db, in TraverseAndAssociateChromeAutofillProfiles()
53 std::vector<AutofillProfile*>* updated_profiles, in TraverseAndAssociateChromeAutofillProfiles()
54 std::vector<AutofillProfile*>* new_profiles, in TraverseAndAssociateChromeAutofillProfiles()
61 for (std::vector<AutofillProfile*>::const_iterator ix = in TraverseAndAssociateChromeAutofillProfiles()
63 AutofillProfile* p = *ix; in TraverseAndAssociateChromeAutofillProfiles()
75 const std::vector<AutofillProfile*>& profiles(all_profiles_from_db); in TraverseAndAssociateChromeAutofillProfiles()
76 for (std::vector<AutofillProfile*>::const_iterator ix = profiles.begin(); in TraverseAndAssociateChromeAutofillProfiles()
128 std::vector<AutofillProfile*>* profiles) { in LoadAutofillData()
146 ScopedVector<AutofillProfile> profiles; in AssociateModels()
236 AutofillProfile* merge_into, in OverwriteProfileWithServerData()
[all …]
Dautofill_model_associator.cc38 std::vector<AutofillProfile*> updated_profiles;
39 std::vector<AutofillProfile*> new_profiles; // We own these pointers.
121 std::vector<AutofillProfile*>* profiles) { in LoadAutofillData()
145 ScopedVector<AutofillProfile> profiles; in AssociateModels()
236 const std::vector<AutofillProfile*>& all_profiles_from_db) { in TraverseAndAssociateAllSyncNodes()
245 for (std::vector<AutofillProfile*>::const_iterator ix = in TraverseAndAssociateAllSyncNodes()
247 AutofillProfile* p = *ix; in TraverseAndAssociateAllSyncNodes()
294 : public std::binary_function<AutofillProfile*, AutofillProfile*, bool> {
295 bool operator() (AutofillProfile* p1, AutofillProfile* p2) const { in operator ()()
303 AutofillProfile* AutofillModelAssociator::FindCorrespondingNodeFromWebDB( in FindCorrespondingNodeFromWebDB()
[all …]
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc108 bool(std::vector<AutofillProfile*>*)); // NOLINT
110 bool(const AutofillProfile&)); // NOLINT
112 bool(const AutofillProfile&)); // NOLINT
133 template<class AutofillProfile>
144 syncable::ModelType GetModelType<AutofillProfile>() { in GetModelType()
357 bool AddAutofillSyncNode(const AutofillProfile& profile) { in AddAutofillSyncNode()
372 std::vector<AutofillProfile>* profiles) { in GetAutofillEntriesFromSyncDB()
397 AutofillProfile p; in GetAutofillEntriesFromSyncDB()
409 std::vector<AutofillProfile>* profiles) { in GetAutofillProfilesFromSyncDBUnderProfileNode()
423 AutofillProfile p; in GetAutofillProfilesFromSyncDBUnderProfileNode()
[all …]
/external/chromium/chrome/browser/webdata/
Dautofill_table.h17 class AutofillProfile; variable
201 virtual bool AddAutofillProfile(const AutofillProfile& profile);
205 virtual bool UpdateAutofillProfile(const AutofillProfile& profile);
208 virtual bool UpdateAutofillProfileMulti(const AutofillProfile& profile);
215 bool GetAutofillProfile(const std::string& guid, AutofillProfile** profile);
218 virtual bool GetAutofillProfiles(std::vector<AutofillProfile*>* profiles);
284 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, AutofillProfile);
Dautofill_change.h11 class AutofillProfile; variable
58 const AutofillProfile* profile);
61 const AutofillProfile* profile() const { return profile_; } in profile()
66 const AutofillProfile* profile_;
Dautofill_table.cc60 void BindAutofillProfileToStatement(const AutofillProfile& profile, in BindAutofillProfileToStatement()
84 AutofillProfile* AutofillProfileFromStatement(const sql::Statement& s) { in AutofillProfileFromStatement()
85 AutofillProfile* profile = new AutofillProfile; in AutofillProfileFromStatement()
147 AutofillProfile* profile) { in AddAutofillProfileNamesToProfile()
174 AutofillProfile* profile) { in AddAutofillProfileEmailsToProfile()
195 AutofillProfile* profile) { in AddAutofillProfilePhonesToProfile()
217 AutofillProfile* profile) { in AddAutofillProfileFaxesToProfile()
239 bool AddAutofillProfileNames(const AutofillProfile& profile, in AddAutofillProfileNames()
273 bool AddAutofillProfileEmails(const AutofillProfile& profile, in AddAutofillProfileEmails()
299 bool AddAutofillProfilePhones(const AutofillProfile& profile, in AddAutofillProfilePhones()
[all …]
Dweb_data_service_unittest.cc255 AutofillProfile profile; in TEST_F()
272 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; in TEST_F()
282 AutofillProfile profile; in TEST_F()
292 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; in TEST_F()
316 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer2; in TEST_F()
324 AutofillProfile profile1; in TEST_F()
326 AutofillProfile profile2; in TEST_F()
337 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer; in TEST_F()
346 AutofillProfile profile1_changed(profile1); in TEST_F()
364 AutofillWebDataServiceConsumer<std::vector<AutofillProfile*> > consumer2; in TEST_F()
[all …]
Dweb_data_service.cc396 void WebDataService::AddAutofillProfile(const AutofillProfile& profile) { in AddAutofillProfile()
397 GenericRequest<AutofillProfile>* request = in AddAutofillProfile()
398 new GenericRequest<AutofillProfile>( in AddAutofillProfile()
406 void WebDataService::UpdateAutofillProfile(const AutofillProfile& profile) { in UpdateAutofillProfile()
407 GenericRequest<AutofillProfile>* request = in UpdateAutofillProfile()
408 new GenericRequest<AutofillProfile>( in UpdateAutofillProfile()
545 const WDResult<std::vector<AutofillProfile*> >* r = in RequestCompleted()
546 static_cast<const WDResult<std::vector<AutofillProfile*> >*>( in RequestCompleted()
548 std::vector<AutofillProfile*> profiles = r->GetValue(); in RequestCompleted()
1013 GenericRequest<AutofillProfile>* request) { in AddAutofillProfileImpl()
[all …]
Dautofill_table_unittest.cc651 TEST_F(AutofillTableTest, AutofillProfile) { in TEST_F() argument
657 AutofillProfile home_profile; in TEST_F()
677 AutofillProfile* db_profile; in TEST_F()
693 AutofillProfile billing_profile = home_profile; in TEST_F()
782 AutofillProfile p; in TEST_F()
792 AutofillProfile* db_profile; in TEST_F()
823 AutofillProfile p; in TEST_F()
833 AutofillProfile* db_profile; in TEST_F()
861 AutofillProfile p; in TEST_F()
871 AutofillProfile* db_profile; in TEST_F()
[all …]
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/
DWebAutofill.cpp240 mAutofillProfile.set(new AutofillProfile()); in setProfile()
255 std::vector<AutofillProfile> profiles; in setProfile()
263 std::vector<AutofillProfile*> profiles; in updateProfileLabel()
265 return AutofillProfile::AdjustInferredLabels(&profiles); in updateProfileLabel()

12