Home
last modified time | relevance | path

Searched refs:AutofillTable (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/components/autofill/core/browser/webdata/
Dautofill_table.cc54 if (data.size() > AutofillTable::kMaxDataLength) in GetInfo()
55 return data.substr(0, AutofillTable::kMaxDataLength); in GetInfo()
348 const size_t AutofillTable::kMaxDataLength = 1024;
350 AutofillTable::AutofillTable(const std::string& app_locale) in AutofillTable() function in autofill::AutofillTable
354 AutofillTable::~AutofillTable() { in ~AutofillTable()
357 AutofillTable* AutofillTable::FromWebDatabase(WebDatabase* db) { in FromWebDatabase()
358 return static_cast<AutofillTable*>(db->GetTable(GetKey())); in FromWebDatabase()
361 WebDatabaseTable::TypeKey AutofillTable::GetTypeKey() const { in GetTypeKey()
365 bool AutofillTable::Init(sql::Connection* db, sql::MetaTable* meta_table) { in Init()
373 bool AutofillTable::IsSyncable() { in IsSyncable()
[all …]
Dautofill_webdata_backend_impl.cc87 if (!AutofillTable::FromWebDatabase(db)->AddFormFieldValues( in AddFormElements()
109 AutofillTable::FromWebDatabase(db)->GetFormValuesForElementName( in GetFormValuesForElementName()
119 bool value = AutofillTable::FromWebDatabase(db)->HasFormElements(); in HasFormElements()
131 if (AutofillTable::FromWebDatabase(db)->RemoveFormElementsAddedBetween( in RemoveFormElementsAddedBetween()
150 if (AutofillTable::FromWebDatabase(db)->RemoveFormElement(name, value)) { in RemoveFormValueForElementName()
168 if (!AutofillTable::FromWebDatabase(db)->AddAutofillProfile(profile)) { in AddAutofillProfile()
190 if (!AutofillTable::FromWebDatabase(db)->GetAutofillProfile(profile.guid(), in UpdateAutofillProfile()
196 if (!AutofillTable::FromWebDatabase(db)->UpdateAutofillProfile(profile)) { in UpdateAutofillProfile()
215 if (!AutofillTable::FromWebDatabase(db)->GetAutofillProfile(guid, &profile)) { in RemoveAutofillProfile()
221 if (!AutofillTable::FromWebDatabase(db)->RemoveAutofillProfile(guid)) { in RemoveAutofillProfile()
[all …]
Dautofill_table.h126 class AutofillTable : public WebDatabaseTable {
128 explicit AutofillTable(const std::string& app_locale);
129 virtual ~AutofillTable();
132 static AutofillTable* FromWebDatabase(WebDatabase* db);
386 DISALLOW_COPY_AND_ASSIGN(AutofillTable);
Dweb_data_service_unittest.cc112 wdbs_->AddTable(scoped_ptr<WebDatabaseTable>(new AutofillTable("en-US"))); in SetUp()
Dautofill_table_unittest.cc126 table_.reset(new AutofillTable("en-US")); in SetUp()
134 scoped_ptr<AutofillTable> table_;
/external/chromium/chrome/browser/webdata/
Dautofill_table.cc390 bool AutofillTable::Init() { in Init()
397 bool AutofillTable::IsSyncable() { in IsSyncable()
401 bool AutofillTable::AddFormFieldValues(const std::vector<FormField>& elements, in AddFormFieldValues()
406 bool AutofillTable::AddFormFieldValue(const FormField& element, in AddFormFieldValue()
411 bool AutofillTable::GetFormValuesForElementName(const string16& name, in GetFormValuesForElementName()
460 bool AutofillTable::RemoveFormElementsAddedBetween( in RemoveFormElementsAddedBetween()
512 bool AutofillTable::RemoveFormElementForTimeRange(int64 pair_id, in RemoveFormElementForTimeRange()
535 bool AutofillTable::AddToCountOfFormElement(int64 pair_id, in AddToCountOfFormElement()
556 bool AutofillTable::GetIDAndCountOfFormElement( in GetIDAndCountOfFormElement()
582 bool AutofillTable::GetCountOfFormElement(int64 pair_id, int* count) { in GetCountOfFormElement()
[all …]
Dautofill_table.h111 class AutofillTable : public WebDatabaseTable {
113 AutofillTable(sql::Connection* db, sql::MetaTable* meta_table) in AutofillTable() function
115 virtual ~AutofillTable() {} in ~AutofillTable()
327 DISALLOW_COPY_AND_ASSIGN(AutofillTable);
Dweb_database.h36 virtual AutofillTable* GetAutofillTable();
53 scoped_ptr<AutofillTable> autofill_table_;
Dweb_database.cc57 AutofillTable* WebDatabase::GetAutofillTable() { in GetAutofillTable()
120 autofill_table_.reset(new AutofillTable(&db_, &meta_table_)); in Init()
/external/chromium_org/chrome/browser/webdata/
Dautocomplete_syncable_service.cc24 using autofill::AutofillTable;
330 return AutofillTable::FromWebDatabase( in LoadAutofillData()
339 !AutofillTable::FromWebDatabase( in SaveChangesToWebData()
413 if (!AutofillTable::FromWebDatabase( in AutofillEntryDelete()
434 if (!AutofillTable::FromWebDatabase(db)->GetAutofillTimestamps( in ActOnChanges()
Dautofill_profile_syncable_service.h33 class AutofillTable; variable
161 autofill::AutofillTable* GetAutofillTable() const;
Dautofill_profile_syncable_service.cc26 using autofill::AutofillTable;
34 if (sanitized_value.length() > AutofillTable::kMaxDataLength) in LimitData()
35 sanitized_value.resize(AutofillTable::kMaxDataLength); in LimitData()
298 autofill::AutofillTable* autofill_table = GetAutofillTable(); in SaveChangesToWebData()
612 AutofillTable* AutofillProfileSyncableService::GetAutofillTable() const { in GetAutofillTable()
613 return AutofillTable::FromWebDatabase(webdata_backend_->GetDatabase()); in GetAutofillTable()
Dweb_data_service_factory.cc82 scoped_ptr<WebDatabaseTable>(new autofill::AutofillTable( in WebDataServiceWrapper()
/external/chromium_org/chrome/browser/sync/test/integration/
Dtwo_client_autofill_sync_test.cc17 using autofill::AutofillTable;
406 base::string16 max_length_string(AutofillTable::kMaxDataLength, '.'); in IN_PROC_BROWSER_TEST_F()
439 AutofillTable::kMaxDataLength + 1, '.'); in IN_PROC_BROWSER_TEST_F()
Dautofill_helper.cc30 using autofill::AutofillTable;
104 AutofillTable::FromWebDatabase( in GetAllAutofillEntriesOnDBThread()
/external/chromium_org/android_webview/browser/
Daw_form_database_service.cc34 scoped_ptr<WebDatabaseTable>(new autofill::AutofillTable( in AwFormDatabaseService()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc94 class AutofillTableMock : public AutofillTable {
96 AutofillTableMock() : AutofillTable(NULL, NULL) {} in AutofillTableMock()
119 explicit WebDatabaseFake(AutofillTable* autofill_table) in WebDatabaseFake()
122 virtual AutofillTable* GetAutofillTable() { in GetAutofillTable()
127 AutofillTable* autofill_table_;
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc72 using autofill::AutofillTable;
116 class AutofillTableMock : public AutofillTable {
118 AutofillTableMock() : AutofillTable("en-US") {} in AutofillTableMock()
146 explicit WebDatabaseFake(AutofillTable* autofill_table) { in WebDatabaseFake()
/external/chromium_org/chrome_frame/test/
Ddelete_chrome_history_test.cc105 autofill::AutofillTable autofill_table("en-US"); in ACTION_P2()
/external/chromium_org/components/webdata/common/
Dweb_database_migration_unittest.cc35 using autofill::AutofillTable;
179 AutofillTable autofill_table("en-US"); in DoMigration()
/external/chromium_org/components/autofill/core/browser/
Dpersonal_data_manager_unittest.cc76 scoped_ptr<WebDatabaseTable>(new AutofillTable("en-US"))); in SetUp()