Home
last modified time | relevance | path

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

12345

/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 …]
/external/chromium_org/components/autofill/core/browser/
Dautofill_profile_unittest.cc23 base::string16 GetLabel(AutofillProfile* profile) { in GetLabel()
24 std::vector<AutofillProfile*> profiles; in GetLabel()
27 AutofillProfile::CreateDifferentiatingLabels(profiles, &labels); in GetLabel()
37 AutofillProfile profile0(base::GenerateGUID(), "https://www.example.com/"); in TEST()
44 AutofillProfile profile00(base::GenerateGUID(), "https://www.example.com/"); in TEST()
52 AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com/"); in TEST()
60 AutofillProfile profile1a(base::GenerateGUID(), "https://www.example.com/"); in TEST()
68 AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com/"); in TEST()
77 AutofillProfile profile3(base::GenerateGUID(), "https://www.example.com/"); in TEST()
85 AutofillProfile profile4(base::GenerateGUID(), "https://www.example.com/"); in TEST()
[all …]
Dautofill_profile.h31 class AutofillProfile : public AutofillDataModel {
33 AutofillProfile(const std::string& guid, const std::string& origin);
36 AutofillProfile();
37 AutofillProfile(const AutofillProfile& profile);
38 virtual ~AutofillProfile();
40 AutofillProfile& operator=(const AutofillProfile& profile);
85 int Compare(const AutofillProfile& profile) const;
89 bool operator==(const AutofillProfile& profile) const;
90 virtual bool operator!=(const AutofillProfile& profile) const;
99 bool IsSubsetOf(const AutofillProfile& profile,
[all …]
Dautofill_profile.cc110 const base::string16 MultiString(const AutofillProfile& p, in MultiString()
223 AutofillProfile::AutofillProfile(const std::string& guid, in AutofillProfile() function in autofill::AutofillProfile
231 AutofillProfile::AutofillProfile() in AutofillProfile() function in autofill::AutofillProfile
238 AutofillProfile::AutofillProfile(const AutofillProfile& profile) in AutofillProfile() function in autofill::AutofillProfile
243 AutofillProfile::~AutofillProfile() { in ~AutofillProfile()
246 AutofillProfile& AutofillProfile::operator=(const AutofillProfile& profile) { in operator =()
266 void AutofillProfile::GetMatchingTypes( in GetMatchingTypes()
275 base::string16 AutofillProfile::GetRawInfo(ServerFieldType type) const { in GetRawInfo()
283 void AutofillProfile::SetRawInfo(ServerFieldType type, in SetRawInfo()
290 base::string16 AutofillProfile::GetInfo(const AutofillType& type, in GetInfo()
[all …]
Dpersonal_data_manager.h36 void SetProfiles(int, std::vector<autofill::AutofillProfile>*);
88 const AutofillProfile& imported_profile);
96 void AddProfile(const AutofillProfile& profile);
99 void UpdateProfile(const AutofillProfile& profile);
107 AutofillProfile* GetProfileByGUID(const std::string& guid);
132 virtual const std::vector<AutofillProfile*>& GetProfiles() const;
133 virtual const std::vector<AutofillProfile*>& web_profiles() const;
174 static bool IsValidLearnableProfile(const AutofillProfile& profile,
182 const AutofillProfile& new_profile,
183 const std::vector<AutofillProfile*>& existing_profiles,
[all …]
Dpersonal_data_manager.cc85 bool IsMinimumAddress(const AutofillProfile& profile, in IsMinimumAddress()
229 scoped_ptr<AutofillProfile> imported_profile(new AutofillProfile); in ImportFormData()
369 void PersonalDataManager::AddProfile(const AutofillProfile& profile) { in AddProfile()
377 if (FindByGUID<AutofillProfile>(web_profiles_, profile.guid())) in AddProfile()
394 void PersonalDataManager::UpdateProfile(const AutofillProfile& profile) { in UpdateProfile()
398 AutofillProfile* existing_profile = GetProfileByGUID(profile.guid()); in UpdateProfile()
421 AutofillProfile* PersonalDataManager::GetProfileByGUID( in GetProfileByGUID()
423 const std::vector<AutofillProfile*>& profiles = GetProfiles(); in GetProfileByGUID()
424 std::vector<AutofillProfile*>::const_iterator iter = in GetProfileByGUID()
425 FindElementByGUID<AutofillProfile>(profiles, guid); in GetProfileByGUID()
[all …]
Dautofill_test_utils.h18 class AutofillProfile; variable
46 AutofillProfile GetFullProfile();
49 AutofillProfile GetFullProfile2();
52 AutofillProfile GetVerifiedProfile();
55 AutofillProfile GetVerifiedProfile2();
72 void SetProfileInfo(AutofillProfile* profile,
79 void SetProfileInfoWithGuid(AutofillProfile* profile,
Dtest_personal_data_manager.h23 void AddTestingProfile(AutofillProfile* profile);
29 virtual const std::vector<AutofillProfile*>& GetProfiles() const OVERRIDE;
33 const AutofillProfile& imported_profile) OVERRIDE;
44 const AutofillProfile& imported_profile() { return imported_profile_; } in imported_profile()
48 std::vector<AutofillProfile*> profiles_;
50 AutofillProfile imported_profile_;
Dautofill_test_utils.cc91 AutofillProfile GetFullProfile() { in GetFullProfile()
92 AutofillProfile profile(base::GenerateGUID(), "http://www.example.com/"); in GetFullProfile()
108 AutofillProfile GetFullProfile2() { in GetFullProfile2()
109 AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); in GetFullProfile2()
125 AutofillProfile GetVerifiedProfile() { in GetVerifiedProfile()
126 AutofillProfile profile(GetFullProfile()); in GetVerifiedProfile()
131 AutofillProfile GetVerifiedProfile2() { in GetVerifiedProfile2()
132 AutofillProfile profile(GetFullProfile2()); in GetVerifiedProfile2()
163 void SetProfileInfo(AutofillProfile* profile, in SetProfileInfo()
183 void SetProfileInfoWithGuid(AutofillProfile* profile, in SetProfileInfoWithGuid()
/external/chromium_org/chrome/browser/webdata/
Dautofill_profile_syncable_service.h32 class AutofillProfile; variable
102 std::vector<autofill::AutofillProfile*>* profiles);
117 static syncer::SyncData CreateData(const autofill::AutofillProfile& profile);
129 typedef std::map<std::string, autofill::AutofillProfile*> GUIDToProfileMap;
135 autofill::AutofillProfile* profile,
139 static void WriteAutofillProfile(const autofill::AutofillProfile& profile,
145 const std::vector<autofill::AutofillProfile*>& profiles,
167 autofill::AutofillProfile* autofill_profile);
172 autofill::AutofillProfile* autofill_profile);
180 static bool MergeProfile(const autofill::AutofillProfile& merge_from,
[all …]
Dautofill_profile_syncable_service_unittest.cc23 using autofill::AutofillProfile;
46 MOCK_METHOD1(LoadAutofillData, bool(std::vector<AutofillProfile*>*));
142 const std::vector<AutofillProfile*>& profiles_from_web_db, in MergeDataAndStartSyncing()
177 std::vector<AutofillProfile*> profiles_from_web_db; in TEST_F()
188 new AutofillProfile(guid_present1, origin_present1)); in TEST_F()
194 new AutofillProfile(guid_present2, origin_present2)); in TEST_F()
201 AutofillProfile profile1(guid_synced1, origin_synced1); in TEST_F()
204 AutofillProfile profile2(guid_synced2, origin_synced2); in TEST_F()
208 AutofillProfile profile3(guid_present2, origin_synced2); in TEST_F()
230 std::vector<AutofillProfile*> profiles_from_web_db; in TEST_F()
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
DPersonalDataManagerTest.java10 import org.chromium.chrome.browser.autofill.PersonalDataManager.AutofillProfile;
36 AutofillProfile profile = new AutofillProfile( in testAddAndEditProfiles()
43 AutofillProfile profile2 = new AutofillProfile( in testAddAndEditProfiles()
55 AutofillProfile storedProfile = mHelper.getProfile(profileOneGUID); in testAddAndEditProfiles()
66 AutofillProfile profile = new AutofillProfile( in testAddAndDeleteProfile()
126 AutofillProfile profile1 = new AutofillProfile( in testRespectCountryCodes()
132 AutofillProfile profile2 = new AutofillProfile( in testRespectCountryCodes()
140 AutofillProfile storedProfile1 = mHelper.getProfile(profileGuid1); in testRespectCountryCodes()
143 AutofillProfile storedProfile2 = mHelper.getProfile(profileGuid2); in testRespectCountryCodes()
/external/chromium_org/components/autofill/core/browser/android/
Dauxiliary_profiles_android.h17 class AutofillProfile; variable
34 scoped_ptr<AutofillProfile> LoadContactsProfile();
38 void LoadAddress(AutofillProfile* profile);
40 void LoadName(AutofillProfile* profile);
42 void LoadEmailAddress(AutofillProfile* profile);
44 void LoadPhoneNumbers(AutofillProfile* profile);
Dauxiliary_profile_unittest_android.cc20 AutofillProfile* GetAndLoadProfile() { in GetAndLoadProfile()
32 scoped_ptr<AutofillProfile> profile_;
44 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F()
52 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F()
65 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F()
75 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F()
86 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F()
96 AutofillProfile* profile = GetAndLoadProfile(); in TEST_F()
122 AutofillProfile* profile = GetAndLoadProfile();
136 AutofillProfile* profile = GetAndLoadProfile();
[all …]
Dauxiliary_profiles_android.cc64 scoped_ptr<AutofillProfile> AuxiliaryProfilesAndroid::LoadContactsProfile() { in LoadContactsProfile()
65 scoped_ptr<AutofillProfile> profile( in LoadContactsProfile()
66 new AutofillProfile(kAndroidMeContactA, kAndroidContactsOrigin)); in LoadContactsProfile()
81 void AuxiliaryProfilesAndroid::LoadAddress(AutofillProfile* profile) { in LoadAddress()
100 void AuxiliaryProfilesAndroid::LoadName(AutofillProfile* profile) { in LoadName()
110 void AuxiliaryProfilesAndroid::LoadEmailAddress(AutofillProfile* profile) { in LoadEmailAddress()
116 void AuxiliaryProfilesAndroid::LoadPhoneNumbers(AutofillProfile* profile) { in LoadPhoneNumbers()
/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);
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc70 using autofill::AutofillProfile;
131 bool(std::vector<AutofillProfile*>*)); // NOLINT
133 bool(const AutofillProfile&)); // NOLINT
135 bool(const AutofillProfile&)); // NOLINT
179 template<class AutofillProfile>
190 syncer::ModelType GetModelType<AutofillProfile>() { in GetModelType()
641 bool AddAutofillSyncNode(const AutofillProfile& profile) { in AddAutofillSyncNode()
665 std::vector<AutofillProfile>* profiles) { in GetAutofillEntriesFromSyncDB()
693 AutofillProfile p; in GetAutofillEntriesFromSyncDB()
705 std::vector<AutofillProfile>* profiles) { in GetAutofillProfilesFromSyncDBUnderProfileNode()
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dautofill_helper.cc29 using autofill::AutofillProfile;
132 AutofillProfile CreateAutofillProfile(ProfileType type) { in CreateAutofillProfile()
133 AutofillProfile profile; in CreateAutofillProfile()
239 void SetProfiles(int profile, std::vector<AutofillProfile>* autofill_profiles) { in SetProfiles()
261 void AddProfile(int profile, const AutofillProfile& autofill_profile) { in AddProfile()
262 const std::vector<AutofillProfile*>& all_profiles = GetAllProfiles(profile); in AddProfile()
263 std::vector<AutofillProfile> autofill_profiles; in AddProfile()
271 const std::vector<AutofillProfile*>& all_profiles = GetAllProfiles(profile); in RemoveProfile()
272 std::vector<AutofillProfile> autofill_profiles; in RemoveProfile()
284 const std::vector<AutofillProfile*>& all_profiles = GetAllProfiles(profile); in UpdateProfile()
[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 …]

12345