• Home
  • Raw
  • Download

Lines Matching refs:WebDataService

50 WebDataService::WebDataService()  in WebDataService()  function in WebDataService
59 bool WebDataService::Init(const FilePath& profile_path) { in Init()
65 void WebDataService::Shutdown() { in Shutdown()
69 bool WebDataService::IsRunning() const { in IsRunning()
73 void WebDataService::UnloadDatabase() { in UnloadDatabase()
74 ScheduleTask(NewRunnableMethod(this, &WebDataService::ShutdownDatabase)); in UnloadDatabase()
77 void WebDataService::CancelRequest(Handle h) { in CancelRequest()
87 bool WebDataService::IsDatabaseLoaded() { in IsDatabaseLoaded()
91 WebDatabase* WebDataService::GetDatabase() { in GetDatabase()
102 void WebDataService::AddKeyword(const TemplateURL& url) { in AddKeyword()
109 ScheduleTask(NewRunnableMethod(this, &WebDataService::AddKeywordImpl, in AddKeyword()
113 void WebDataService::RemoveKeyword(const TemplateURL& url) { in RemoveKeyword()
119 NewRunnableMethod(this, &WebDataService::RemoveKeywordImpl, request)); in RemoveKeyword()
122 void WebDataService::UpdateKeyword(const TemplateURL& url) { in UpdateKeyword()
130 NewRunnableMethod(this, &WebDataService::UpdateKeywordImpl, request)); in UpdateKeyword()
133 WebDataService::Handle WebDataService::GetKeywords( in GetKeywords()
140 &WebDataService::GetKeywordsImpl, in GetKeywords()
145 void WebDataService::SetDefaultSearchProvider(const TemplateURL* url) { in SetDefaultSearchProvider()
153 NewRunnableMethod(this, &WebDataService::SetDefaultSearchProviderImpl, in SetDefaultSearchProvider()
157 void WebDataService::SetBuiltinKeywordVersion(int version) { in SetBuiltinKeywordVersion()
162 NewRunnableMethod(this, &WebDataService::SetBuiltinKeywordVersionImpl, in SetBuiltinKeywordVersion()
172 void WebDataService::SetWebAppImage(const GURL& app_url, in SetWebAppImage()
178 ScheduleTask(NewRunnableMethod(this, &WebDataService::SetWebAppImageImpl, in SetWebAppImage()
182 void WebDataService::SetWebAppHasAllImages(const GURL& app_url, in SetWebAppHasAllImages()
189 &WebDataService::SetWebAppHasAllImagesImpl, in SetWebAppHasAllImages()
193 void WebDataService::RemoveWebApp(const GURL& app_url) { in RemoveWebApp()
197 ScheduleTask(NewRunnableMethod(this, &WebDataService::RemoveWebAppImpl, in RemoveWebApp()
201 WebDataService::Handle WebDataService::GetWebAppImages( in GetWebAppImages()
207 ScheduleTask(NewRunnableMethod(this, &WebDataService::GetWebAppImagesImpl, in GetWebAppImages()
218 void WebDataService::SetTokenForService(const std::string& service, in SetTokenForService()
224 ScheduleTask(NewRunnableMethod(this, &WebDataService::SetTokenForServiceImpl, in SetTokenForService()
228 void WebDataService::RemoveAllTokens() { in RemoveAllTokens()
234 &WebDataService::RemoveAllTokensImpl, in RemoveAllTokens()
239 WebDataService::Handle WebDataService::GetAllTokens( in GetAllTokens()
247 &WebDataService::GetAllTokensImpl, in GetAllTokens()
258 void WebDataService::AddLogin(const PasswordForm& form) { in AddLogin()
263 ScheduleTask(NewRunnableMethod(this, &WebDataService::AddLoginImpl, in AddLogin()
267 void WebDataService::UpdateLogin(const PasswordForm& form) { in UpdateLogin()
272 ScheduleTask(NewRunnableMethod(this, &WebDataService::UpdateLoginImpl, in UpdateLogin()
276 void WebDataService::RemoveLogin(const PasswordForm& form) { in RemoveLogin()
281 ScheduleTask(NewRunnableMethod(this, &WebDataService::RemoveLoginImpl, in RemoveLogin()
285 void WebDataService::RemoveLoginsCreatedBetween(const Time& delete_begin, in RemoveLoginsCreatedBetween()
295 &WebDataService::RemoveLoginsCreatedBetweenImpl, request)); in RemoveLoginsCreatedBetween()
298 void WebDataService::RemoveLoginsCreatedAfter(const Time& delete_begin) { in RemoveLoginsCreatedAfter()
302 WebDataService::Handle WebDataService::GetLogins( in GetLogins()
309 ScheduleTask(NewRunnableMethod(this, &WebDataService::GetLoginsImpl, in GetLogins()
314 WebDataService::Handle WebDataService::GetAutofillableLogins( in GetAutofillableLogins()
320 &WebDataService::GetAutofillableLoginsImpl, in GetAutofillableLogins()
325 WebDataService::Handle WebDataService::GetBlacklistLogins( in GetBlacklistLogins()
331 &WebDataService::GetBlacklistLoginsImpl, in GetBlacklistLogins()
342 void WebDataService::AddFormFields( in AddFormFields()
349 &WebDataService::AddFormElementsImpl, in AddFormFields()
353 WebDataService::Handle WebDataService::GetFormValuesForElementName( in GetFormValuesForElementName()
361 &WebDataService::GetFormValuesForElementNameImpl, in GetFormValuesForElementName()
369 void WebDataService::RemoveFormElementsAddedBetween(const Time& delete_begin, in RemoveFormElementsAddedBetween()
379 &WebDataService::RemoveFormElementsAddedBetweenImpl, request)); in RemoveFormElementsAddedBetween()
382 void WebDataService::RemoveFormValueForElementName( in RemoveFormValueForElementName()
392 &WebDataService::RemoveFormValueForElementNameImpl, in RemoveFormValueForElementName()
396 void WebDataService::AddAutofillProfile(const AutofillProfile& profile) { in AddAutofillProfile()
402 &WebDataService::AddAutofillProfileImpl, in AddAutofillProfile()
406 void WebDataService::UpdateAutofillProfile(const AutofillProfile& profile) { in UpdateAutofillProfile()
412 &WebDataService::UpdateAutofillProfileImpl, in UpdateAutofillProfile()
416 void WebDataService::RemoveAutofillProfile(const std::string& guid) { in RemoveAutofillProfile()
422 &WebDataService::RemoveAutofillProfileImpl, in RemoveAutofillProfile()
426 WebDataService::Handle WebDataService::GetAutofillProfiles( in GetAutofillProfiles()
433 &WebDataService::GetAutofillProfilesImpl, in GetAutofillProfiles()
438 void WebDataService::EmptyMigrationTrash(bool notify_sync) { in EmptyMigrationTrash()
444 &WebDataService::EmptyMigrationTrashImpl, in EmptyMigrationTrash()
448 void WebDataService::AddCreditCard(const CreditCard& credit_card) { in AddCreditCard()
454 &WebDataService::AddCreditCardImpl, in AddCreditCard()
458 void WebDataService::UpdateCreditCard(const CreditCard& credit_card) { in UpdateCreditCard()
464 &WebDataService::UpdateCreditCardImpl, in UpdateCreditCard()
468 void WebDataService::RemoveCreditCard(const std::string& guid) { in RemoveCreditCard()
474 &WebDataService::RemoveCreditCardImpl, in RemoveCreditCard()
478 WebDataService::Handle WebDataService::GetCreditCards( in GetCreditCards()
485 &WebDataService::GetCreditCardsImpl, in GetCreditCards()
490 void WebDataService::RemoveAutofillProfilesAndCreditCardsModifiedBetween( in RemoveAutofillProfilesAndCreditCardsModifiedBetween()
502 &WebDataService::RemoveAutofillProfilesAndCreditCardsModifiedBetweenImpl, in RemoveAutofillProfilesAndCreditCardsModifiedBetween()
506 WebDataService::~WebDataService() { in ~WebDataService()
512 bool WebDataService::InitWithPath(const FilePath& path) { in InitWithPath()
516 &WebDataService::InitializeDatabaseIfNecessary)); in InitWithPath()
520 void WebDataService::RequestCompleted(Handle h) { in RequestCompleted()
561 void WebDataService::RegisterRequest(WebDataRequest* request) { in RegisterRequest()
572 void WebDataService::DBInitFailed(sql::InitStatus init_status) { in DBInitFailed()
578 void WebDataService::InitializeDatabaseIfNecessary() { in InitializeDatabaseIfNecessary()
594 NewRunnableMethod(this, &WebDataService::DBInitFailed, init_status)); in InitializeDatabaseIfNecessary()
601 NewRunnableMethod(this, &WebDataService::NotifyDatabaseLoadedOnUIThread)); in InitializeDatabaseIfNecessary()
607 void WebDataService::NotifyDatabaseLoadedOnUIThread() { in NotifyDatabaseLoadedOnUIThread()
610 Source<WebDataService>(this), in NotifyDatabaseLoadedOnUIThread()
614 void WebDataService::ShutdownDatabase() { in ShutdownDatabase()
624 void WebDataService::Commit() { in Commit()
635 void WebDataService::ScheduleTask(Task* t) { in ScheduleTask()
642 void WebDataService::ScheduleCommit() { in ScheduleCommit()
645 ScheduleTask(NewRunnableMethod(this, &WebDataService::Commit)); in ScheduleCommit()
649 int WebDataService::GetNextRequestHandle() { in GetNextRequestHandle()
660 void WebDataService::AddKeywordImpl(GenericRequest<TemplateURL>* request) { in AddKeywordImpl()
669 void WebDataService::RemoveKeywordImpl( in RemoveKeywordImpl()
680 void WebDataService::UpdateKeywordImpl(GenericRequest<TemplateURL>* request) { in UpdateKeywordImpl()
692 void WebDataService::GetKeywordsImpl(WebDataRequest* request) { in GetKeywordsImpl()
707 void WebDataService::SetDefaultSearchProviderImpl( in SetDefaultSearchProviderImpl()
721 void WebDataService::SetBuiltinKeywordVersionImpl( in SetBuiltinKeywordVersionImpl()
741 void WebDataService::SetWebAppImageImpl( in SetWebAppImageImpl()
752 void WebDataService::SetWebAppHasAllImagesImpl( in SetWebAppHasAllImagesImpl()
763 void WebDataService::RemoveWebAppImpl(GenericRequest<GURL>* request) { in RemoveWebAppImpl()
772 void WebDataService::GetWebAppImagesImpl(GenericRequest<GURL>* request) { in GetWebAppImagesImpl()
793 void WebDataService::RemoveAllTokensImpl( in RemoveAllTokensImpl()
804 void WebDataService::SetTokenForServiceImpl( in SetTokenForServiceImpl()
817 void WebDataService::GetAllTokensImpl( in GetAllTokensImpl()
835 void WebDataService::AddLoginImpl(GenericRequest<PasswordForm>* request) { in AddLoginImpl()
844 void WebDataService::UpdateLoginImpl(GenericRequest<PasswordForm>* request) { in UpdateLoginImpl()
853 void WebDataService::RemoveLoginImpl(GenericRequest<PasswordForm>* request) { in RemoveLoginImpl()
862 void WebDataService::RemoveLoginsCreatedBetweenImpl( in RemoveLoginsCreatedBetweenImpl()
874 void WebDataService::GetLoginsImpl(GenericRequest<PasswordForm>* request) { in GetLoginsImpl()
885 void WebDataService::GetAutofillableLoginsImpl(WebDataRequest* request) { in GetAutofillableLoginsImpl()
896 void WebDataService::GetBlacklistLoginsImpl(WebDataRequest* request) { in GetBlacklistLoginsImpl()
923 void WebDataService::AddFormElementsImpl( in AddFormElementsImpl()
942 Source<WebDataService>(this), in AddFormElementsImpl()
949 void WebDataService::GetFormValuesForElementNameImpl(WebDataRequest* request, in GetFormValuesForElementNameImpl()
962 void WebDataService::RemoveFormElementsAddedBetweenImpl( in RemoveFormElementsAddedBetweenImpl()
978 Source<WebDataService>(this), in RemoveFormElementsAddedBetweenImpl()
987 void WebDataService::RemoveFormValueForElementNameImpl( in RemoveFormValueForElementNameImpl()
1005 Source<WebDataService>(this), in RemoveFormValueForElementNameImpl()
1012 void WebDataService::AddAutofillProfileImpl( in AddAutofillProfileImpl()
1028 Source<WebDataService>(this), in AddAutofillProfileImpl()
1034 void WebDataService::UpdateAutofillProfileImpl( in UpdateAutofillProfileImpl()
1062 Source<WebDataService>(this), in UpdateAutofillProfileImpl()
1068 void WebDataService::RemoveAutofillProfileImpl( in RemoveAutofillProfileImpl()
1091 Source<WebDataService>(this), in RemoveAutofillProfileImpl()
1097 void WebDataService::GetAutofillProfilesImpl(WebDataRequest* request) { in GetAutofillProfilesImpl()
1109 void WebDataService::EmptyMigrationTrashImpl( in EmptyMigrationTrashImpl()
1128 Source<WebDataService>(this), in EmptyMigrationTrashImpl()
1144 Source<WebDataService>(this), in EmptyMigrationTrashImpl()
1160 void WebDataService::AddCreditCardImpl( in AddCreditCardImpl()
1176 Source<WebDataService>(this), in AddCreditCardImpl()
1182 void WebDataService::UpdateCreditCardImpl( in UpdateCreditCardImpl()
1209 Source<WebDataService>(this), in UpdateCreditCardImpl()
1215 void WebDataService::RemoveCreditCardImpl( in RemoveCreditCardImpl()
1231 Source<WebDataService>(this), in RemoveCreditCardImpl()
1237 void WebDataService::GetCreditCardsImpl(WebDataRequest* request) { in GetCreditCardsImpl()
1249 void WebDataService::RemoveAutofillProfilesAndCreditCardsModifiedBetweenImpl( in RemoveAutofillProfilesAndCreditCardsModifiedBetweenImpl()
1267 Source<WebDataService>(this), in RemoveAutofillProfilesAndCreditCardsModifiedBetweenImpl()
1277 Source<WebDataService>(this), in RemoveAutofillProfilesAndCreditCardsModifiedBetweenImpl()
1294 WebDataService::WebDataRequest::WebDataRequest(WebDataService* service, in WebDataRequest()
1305 WebDataService::WebDataRequest::~WebDataRequest() { in ~WebDataRequest()
1309 WebDataService::Handle WebDataService::WebDataRequest::GetHandle() const { in GetHandle()
1313 WebDataServiceConsumer* WebDataService::WebDataRequest::GetConsumer() const { in GetConsumer()
1317 bool WebDataService::WebDataRequest::IsCancelled() const { in IsCancelled()
1321 void WebDataService::WebDataRequest::Cancel() { in Cancel()
1326 void WebDataService::WebDataRequest::SetResult(WDTypedResult* r) { in SetResult()
1330 const WDTypedResult* WebDataService::WebDataRequest::GetResult() const { in GetResult()
1334 void WebDataService::WebDataRequest::RequestComplete() { in RequestComplete()
1335 WebDataService* s = service_; in RequestComplete()
1337 &WebDataService::RequestCompleted, in RequestComplete()