Searched defs:profile (Results 276 - 300 of 1666) sorted by last modified time

<<11121314151617181920>>

/external/chromium_org/components/autofill/content/browser/wallet/
H A Dinstrument.cc61 const AutofillProfile& profile)
67 address_(new Address(profile)) {
59 Instrument(const CreditCard& card, const base::string16& card_verification_number, const AutofillProfile& profile) argument
H A Dwallet_address.cc121 Address::Address(const AutofillProfile& profile) argument
123 base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY))),
124 recipient_name_(profile.GetRawInfo(NAME_FULL)),
125 locality_name_(profile.GetRawInfo(ADDRESS_HOME_CITY)),
127 profile.GetRawInfo(ADDRESS_HOME_DEPENDENT_LOCALITY)),
128 administrative_area_name_(profile.GetRawInfo(ADDRESS_HOME_STATE)),
129 postal_code_number_(profile.GetRawInfo(ADDRESS_HOME_ZIP)),
130 sorting_code_(profile.GetRawInfo(ADDRESS_HOME_SORTING_CODE)),
131 phone_number_(profile.GetRawInfo(PHONE_HOME_WHOLE_NUMBER)),
133 language_code_(profile
[all...]
/external/chromium_org/components/autofill/core/browser/
H A Daddress_i18n.cc21 base::string16 GetInfoHelper(const AutofillProfile& profile, argument
24 return profile.GetInfo(type, app_locale);
60 CreateAddressDataFromAutofillProfile(const AutofillProfile& profile, argument
63 i18n::CreateAddressData(base::Bind(&GetInfoHelper, profile, app_locale));
64 address_data->language_code = profile.language_code();
H A Dautofill_ie_toolbar_import_win.cc176 // Imports address data from the given registry |key| into the given |profile|,
182 AutofillProfile* profile) {
185 ImportSingleFormGroup(key, reg_to_field, app_locale, profile, &phone);
189 if (phone.ParseNumber(*profile, app_locale, &constructed_number)) {
191 profile->SetRawInfo(PHONE_HOME_WHOLE_NUMBER, constructed_number);
266 AutofillProfile profile; local
267 profile.set_origin(kIEToolbarImportOrigin);
268 if (ImportSingleProfile(app_locale, key, reg_to_field, &profile)) {
270 profiles->push_back(profile);
179 ImportSingleProfile(const std::string& app_locale, const RegKey& key, const RegToFieldMap& reg_to_field, AutofillProfile* profile) argument
H A Dautofill_manager_unittest.cc86 void AddProfile(AutofillProfile* profile) { argument
87 web_profiles_.push_back(profile);
101 AutofillProfile* profile = GetProfileWithGUID(guid.c_str()); variable
102 if (profile) {
104 std::find(web_profiles_.begin(), web_profiles_.end(), profile));
136 AutofillProfile* profile = new AutofillProfile; local
137 test::SetProfileInfo(profile, "Elvis", "Aaron",
142 profile->set_guid("00000000-0000-0000-0000-000000000001");
143 profiles->push_back(profile);
144 profile
459 AddProfile(AutofillProfile* profile) argument
1286 AutofillProfile* profile = new AutofillProfile; local
1321 AutofillProfile* profile = new AutofillProfile; local
1394 AutofillProfile* profile = new AutofillProfile; local
1440 AutofillProfile* profile = new AutofillProfile; local
1507 AutofillProfile* profile = new AutofillProfile; local
2064 AutofillProfile* profile = autofill_manager_->GetProfileWithGUID( local
2807 AutofillProfile* profile = new AutofillProfile; local
2839 AutofillProfile* profile = new AutofillProfile; local
[all...]
H A Dautofill_merge_unittest.cc91 const AutofillProfile& profile) OVERRIDE;
112 const AutofillProfile& profile) {
115 MergeProfile(profile, profiles_.get(), "en-US", &profiles);
116 if (merged_guid == profile.guid())
117 profiles_.push_back(new AutofillProfile(profile));
199 // Add a field to the current profile.
215 // The first line is always a profile separator, and the last profile is not
218 // Reached the end of a profile. Try to import it.
230 // Import the profile
111 SaveImportedProfile( const AutofillProfile& profile) argument
[all...]
H A Dautofill_metrics_unittest.cc89 // for the side-effect of logging the profile count.
119 AutofillProfile* profile = new AutofillProfile; local
120 test::SetProfileInfo(profile, "Elvis", "Aaron",
125 profile->set_guid("00000000-0000-0000-0000-000000000001");
126 profiles->push_back(profile);
127 profile = new AutofillProfile;
128 test::SetProfileInfo(profile, "Charles", "Hardin",
132 profile->set_guid("00000000-0000-0000-0000-000000000002");
133 profiles->push_back(profile);
566 // Test that the profile coun
[all...]
H A Dautofill_profile.cc267 AutofillProfile::AutofillProfile(const AutofillProfile& profile) argument
269 operator=(profile);
275 AutofillProfile& AutofillProfile::operator=(const AutofillProfile& profile) { argument
276 if (this == &profile)
279 set_guid(profile.guid());
280 set_origin(profile.origin());
282 name_ = profile.name_;
283 email_ = profile.email_;
284 company_ = profile.company_;
285 phone_number_ = profile
543 IsSubsetOf(const AutofillProfile& profile, const std::string& app_locale) const argument
634 OverwriteWithOrAddTo(const AutofillProfile& profile, const std::string& app_locale) argument
894 const AutofillProfile* profile = profiles[*it]; local
916 const AutofillProfile* profile = profiles[*it]; local
1001 operator <<(std::ostream& os, const AutofillProfile& profile) argument
[all...]
H A Dautofill_profile_unittest.cc28 base::string16 GetLabel(AutofillProfile* profile) { argument
30 profiles.push_back(profile);
36 // Holds the autofill profile |first|, |middle| and |last| names.
71 // from the testcase to create and verify the autofill profile.
90 // Empty profile - nothing to update.
779 // A field must have a non-empty value for each profile to be considered a
864 // Create an identical profile except that the new profile:
901 // Result of assignment should be logically equal to the original profile.
906 // Assignment to self should not change the profile valu
[all...]
H A Dautofill_test_utils.cc85 FormGroup* profile, ServerFieldType type, const char* value) {
87 profile->SetRawInfo(type, base::UTF8ToUTF16(value));
91 AutofillProfile profile(base::GenerateGUID(), "http://www.example.com/");
92 SetProfileInfo(&profile,
104 return profile;
108 AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/");
109 SetProfileInfo(&profile,
121 return profile;
125 AutofillProfile profile(GetFullProfile());
126 profile
84 check_and_set( FormGroup* profile, ServerFieldType type, const char* value) argument
162 SetProfileInfo(AutofillProfile* profile, const char* first_name, const char* middle_name, const char* last_name, const char* email, const char* company, const char* address1, const char* address2, const char* city, const char* state, const char* zipcode, const char* country, const char* phone) argument
182 SetProfileInfoWithGuid(AutofillProfile* profile, const char* guid, const char* first_name, const char* middle_name, const char* last_name, const char* email, const char* company, const char* address1, const char* address2, const char* city, const char* state, const char* zipcode, const char* country, const char* phone) argument
[all...]
H A Dpersonal_data_manager.cc87 // Returns true if minimum requirements for import of a given |profile| have
92 bool IsMinimumAddress(const AutofillProfile& profile, argument
95 if (profile.GetRawInfo(ADDRESS_HOME_LINE1).empty())
99 base::UTF16ToASCII(profile.GetRawInfo(ADDRESS_HOME_COUNTRY));
105 if (country.requires_city() && profile.GetRawInfo(ADDRESS_HOME_CITY).empty())
109 profile.GetRawInfo(ADDRESS_HOME_STATE).empty())
112 if (country.requires_zip() && profile.GetRawInfo(ADDRESS_HOME_ZIP).empty())
243 // Parse the form and construct a profile based on the information that is
271 // fields) but they must all contain the same value, else the profile is
317 // Construct the phone number. Reject the profile i
376 AddProfile(const AutofillProfile& profile) argument
401 UpdateProfile(const AutofillProfile& profile) argument
570 AutofillProfile* profile = *iter; local
720 IsValidLearnableProfile( const AutofillProfile& profile, const std::string& app_locale) argument
[all...]
H A Dphone_number.cc21 // country code. The returned value is based on the |profile|; if the |profile|
24 std::string GetRegion(const AutofillProfile& profile, argument
26 base::string16 country_code = profile.GetRawInfo(ADDRESS_HOME_COUNTRY);
35 PhoneNumber::PhoneNumber(AutofillProfile* profile) argument
36 : profile_(profile) {
222 const AutofillProfile& profile,
234 country_, city_, phone_, GetRegion(profile, app_locale), value);
221 ParseNumber( const AutofillProfile& profile, const std::string& app_locale, base::string16* value) argument
H A Dphone_number.h23 explicit PhoneNumber(AutofillProfile* profile);
29 void set_profile(AutofillProfile* profile) { profile_ = profile; } argument
62 // the specified |profile|'s country code, falling back to the given
63 // |app_locale| if the |profile| has no associated country code. Returns
65 bool ParseNumber(const AutofillProfile& profile,
84 // Updates the cached parsed number if the profile's region has changed
H A Dphone_number_unittest.cc19 AutofillProfile profile; local
20 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US"));
23 PhoneNumber phone_number(&profile);
90 AutofillProfile profile; local
91 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US"));
93 PhoneNumber phone(&profile);
133 AutofillProfile profile; local
134 profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("US"));
136 PhoneNumber phone(&profile);
152 // Now try parsing using the correct locale. Note that the profile'
161 AutofillProfile profile; local
[all...]
H A Dtest_personal_data_manager.cc16 void TestPersonalDataManager::AddTestingProfile(AutofillProfile* profile) { argument
17 profiles_.push_back(profile);
/external/chromium_org/components/autofill/core/browser/webdata/
H A Dautofill_change.cc21 Type type, const std::string& key, const AutofillProfile* profile)
23 profile_(profile) {
24 DCHECK(type == ADD ? (profile && profile->guid() == key) : true);
25 DCHECK(type == UPDATE ? (profile && profile->guid() == key) : true);
26 DCHECK(type == REMOVE ? !profile : true);
36 (type() != REMOVE) ? *profile() == *change.profile() : true;
20 AutofillProfileChange( Type type, const std::string& key, const AutofillProfile* profile) argument
H A Dautofill_change.h53 // Change notification details for Autofill profile changes.
57 // which is expected to be the GUID identifying the |profile|.
58 // When |type| == ADD, |profile| should be non-NULL.
59 // When |type| == UPDATE, |profile| should be non-NULL.
60 // When |type| == REMOVE, |profile| should be NULL.
63 const AutofillProfile* profile);
66 const AutofillProfile* profile() const { return profile_; } function in class:autofill::AutofillProfileChange
H A Dautofill_profile_syncable_service.cc132 // |it| points to created/updated profile. Add it to the |profiles_map_| and
151 << "Found similar profile in sync db but with a different guid: "
316 AutofillProfile* profile,
319 if (specifics.has_origin() && profile->origin() != specifics.origin()) {
320 bool was_verified = profile->IsVerified();
321 profile->set_origin(specifics.origin());
325 DCHECK(!was_verified || profile->IsVerified());
330 specifics.name_first(), profile) || diff;
332 specifics.name_middle(), profile) || diff;
334 specifics.name_last(), profile) || dif
314 OverwriteProfileWithServerData( const sync_pb::AutofillProfileSpecifics& specifics, AutofillProfile* profile, const std::string& app_locale) argument
396 WriteAutofillProfile( const AutofillProfile& profile, sync_pb::EntitySpecifics* profile_specifics) argument
604 CreateData( const AutofillProfile& profile) argument
[all...]
H A Dautofill_table.cc78 void BindAutofillProfileToStatement(const AutofillProfile& profile, argument
80 DCHECK(base::IsValidGUID(profile.guid()));
82 s->BindString(index++, profile.guid());
84 s->BindString16(index++, GetInfo(profile, COMPANY_NAME));
85 s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_STREET_ADDRESS));
86 s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_DEPENDENT_LOCALITY));
87 s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_CITY));
88 s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_STATE));
89 s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_ZIP));
90 s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_SORTING_COD
172 AddAutofillProfileNamesToProfileForVersion37(sql::Connection* db, AutofillProfile* profile) argument
201 AddAutofillProfileNamesToProfile(sql::Connection* db, AutofillProfile* profile) argument
233 AddAutofillProfileEmailsToProfile(sql::Connection* db, AutofillProfile* profile) argument
256 AddAutofillProfilePhonesToProfile(sql::Connection* db, AutofillProfile* profile) argument
282 AddAutofillProfileNamesForVersion3x( const AutofillProfile& profile, sql::Connection* db) argument
311 AddAutofillProfileNames(const AutofillProfile& profile, sql::Connection* db) argument
343 AddAutofillProfileEmails(const AutofillProfile& profile, sql::Connection* db) argument
364 AddAutofillProfilePhones(const AutofillProfile& profile, sql::Connection* db) argument
385 AddAutofillProfilePieces(const AutofillProfile& profile, sql::Connection* db) argument
877 AddAutofillProfile(const AutofillProfile& profile) argument
895 GetAutofillProfile(const std::string& guid, AutofillProfile** profile) argument
937 AutofillProfile* profile = NULL; local
946 UpdateAutofillProfile(const AutofillProfile& profile) argument
1904 AutofillProfile profile; local
[all...]
H A Dautofill_table_unittest.cc635 // Add a 'Home' profile.
659 // Get the 'Home' profile.
674 // Add a 'Billing' profile.
686 // Get the 'Billing' profile.
699 // Update the 'Billing' profile, name only.
718 // Update the 'Billing' profile.
754 // Remove the 'Billing' profile.
897 AutofillProfile profile; local
898 profile.SetRawInfo(NAME_FIRST, ASCIIToUTF16("John"));
899 profile
1044 AutofillProfile profile; local
1195 AutofillProfile profile; local
[all...]
H A Dautofill_webdata_backend_impl.cc166 const AutofillProfile& profile, WebDatabase* db) {
168 if (!AutofillTable::FromWebDatabase(db)->AddAutofillProfile(profile)) {
175 AutofillProfileChange::ADD, profile.guid(), &profile);
184 const AutofillProfile& profile, WebDatabase* db) {
186 // Only perform the update if the profile exists. It is currently
187 // valid to try to update a missing profile. We simply drop the write and
190 if (!AutofillTable::FromWebDatabase(db)->GetAutofillProfile(profile.guid(),
196 if (!AutofillTable::FromWebDatabase(db)->UpdateAutofillProfile(profile)) {
203 AutofillProfileChange::UPDATE, profile
165 AddAutofillProfile( const AutofillProfile& profile, WebDatabase* db) argument
183 UpdateAutofillProfile( const AutofillProfile& profile, WebDatabase* db) argument
214 AutofillProfile* profile = NULL; local
[all...]
H A Dautofill_webdata_service.cc105 const AutofillProfile& profile) {
108 autofill_backend_, profile));
112 const AutofillProfile& profile) {
115 autofill_backend_, profile));
104 AddAutofillProfile( const AutofillProfile& profile) argument
111 UpdateAutofillProfile( const AutofillProfile& profile) argument
H A Dweb_data_service_unittest.cc293 AutofillProfile profile; local
297 AutofillProfileChange::ADD, profile.guid(), &profile);
301 wds_->AddAutofillProfile(profile);
310 EXPECT_EQ(profile, *consumer.result()[0]);
315 AutofillProfile profile; local
317 // Add a profile.
320 wds_->AddAutofillProfile(profile);
329 EXPECT_EQ(profile, *consumer.result()[0]);
334 AutofillProfileChange::REMOVE, profile
488 AutofillProfile profile; local
[all...]
/external/chromium_org/chrome/browser/media/
H A Dmedia_capture_devices_dispatcher.cc21 #include "chrome/browser/profiles/profile.h"
216 Profile* profile,
223 extensions::ExtensionSystem::Get(profile)->extension_service();
364 Profile* profile = Profile::FromBrowserContext(browser_context); local
366 GetExtensionForOrigin(profile, security_origin);
376 if (CheckAllowAllMediaStreamContentForOrigin(profile, security_origin))
386 profile, security_origin, policy_name, list_policy_name) ==
393 if (profile->GetHostContentSettingsMap()->GetContentSetting(
414 Profile* profile = local
417 if (CheckAllowAllMediaStreamContentForOrigin(profile, security_origi
215 GetExtensionForOrigin( Profile* profile, const GURL& security_origin) argument
658 Profile* profile = local
710 Profile* profile = local
870 GetDefaultDevicesForProfile( Profile* profile, bool audio, bool video, content::MediaStreamDevices* devices) argument
[all...]
H A Dmedia_stream_capture_indicator.cc15 #include "chrome/browser/profiles/profile.h"
112 Profile* profile = local
115 profile->GetPrefs()->GetString(prefs::kAcceptLanguages);

Completed in 221 milliseconds

<<11121314151617181920>>