/external/chromium/chrome/browser/autofill/ |
D | autofill_profile_unittest.cc | 19 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 …]
|
D | autofill_profile.h | 35 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 …]
|
D | autofill_profile.cc | 105 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 …]
|
D | personal_data_manager.h | 99 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 …]
|
D | personal_data_manager.cc | 96 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 …]
|
D | autofill_merge_unittest.cc | 47 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()
|
D | personal_data_manager_unittest.cc | 92 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 …]
|
D | personal_data_manager_mac.mm | 33 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 …]
|
D | autofill_common_test.h | 9 class AutofillProfile; variable 30 void SetProfileInfo(AutofillProfile* profile, 37 void SetProfileInfoWithGuid(AutofillProfile* profile,
|
D | select_control_handler_unittest.cc | 99 AutofillProfile profile; in TEST() 117 AutofillProfile profile; in TEST() 135 AutofillProfile profile; in TEST() 153 AutofillProfile profile; in TEST()
|
D | autofill_manager.h | 32 class AutofillProfile; variable 174 bool GetHost(const std::vector<AutofillProfile*>& profiles, 225 void FillFormField(const AutofillProfile* profile, 233 void FillPhoneNumberField(const AutofillProfile* profile,
|
D | autofill_manager.cc | 481 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/ |
D | autofill_profile_model_associator.h | 23 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 …]
|
D | autofill_profile_model_associator_unittest.cc | 21 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 …]
|
D | autofill_model_associator.h | 23 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);
|
D | autofill_profile_model_associator.cc | 51 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 …]
|
D | autofill_model_associator.cc | 38 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/ |
D | profile_sync_service_autofill_unittest.cc | 108 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/ |
D | autofill_table.h | 17 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);
|
D | autofill_change.h | 11 class AutofillProfile; variable 58 const AutofillProfile* profile); 61 const AutofillProfile* profile() const { return profile_; } in profile() 66 const AutofillProfile* profile_;
|
D | autofill_table.cc | 60 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 …]
|
D | web_data_service_unittest.cc | 255 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 …]
|
D | web_data_service.cc | 396 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 …]
|
D | autofill_table_unittest.cc | 651 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/ |
D | WebAutofill.cpp | 240 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()
|