Home
last modified time | relevance | path

Searched refs:history_service (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/chrome/browser/sync/glue/
Dhistory_model_worker.cc67 void PostWorkerTask(const base::WeakPtr<HistoryService>& history_service, in PostWorkerTask() argument
73 if (history_service.get()) { in PostWorkerTask()
75 history_service->ScheduleDBTask(task.get(), cancelable_consumer); in PostWorkerTask()
85 const base::WeakPtr<HistoryService>& history_service, in HistoryModelWorker() argument
88 history_service_(history_service) { in HistoryModelWorker()
89 CHECK(history_service.get()); in HistoryModelWorker()
Dhistory_model_worker.h28 const base::WeakPtr<HistoryService>& history_service,
Dsync_backend_registrar.cc88 HistoryService* history_service = in SyncBackendRegistrar() local
90 if (history_service) { in SyncBackendRegistrar()
92 new HistoryModelWorker(history_service->AsWeakPtr(), this); in SyncBackendRegistrar()
/external/chromium_org/chrome/browser/safe_browsing/
Dlast_download_finder_unittest.cc52 HistoryService* history_service = new HistoryService( in BuildHistoryService() local
54 if (history_service->Init(profile->GetPath())) in BuildHistoryService()
55 return history_service; in BuildHistoryService()
58 delete history_service; in BuildHistoryService()
75 HistoryService* history_service = in CreateProfileWithDownload() local
77 history_service->CreateDownload( in CreateProfileWithDownload()
159 HistoryService* history_service = in AddDownload() local
161 history_service->CreateDownload( in AddDownload()
Dbrowser_feature_extractor_unittest.cc104 HistoryService* history_service() { in history_service() function in safe_browsing::BrowserFeatureExtractorTest
252 history_service()->AddPage(GURL("http://www.foo.com/bar.html"), in TEST_F()
255 history_service()->AddPage(GURL("https://www.foo.com/gaa.html"), in TEST_F()
258 history_service()->AddPage(GURL("http://www.foo.com/gaa.html"), in TEST_F()
261 history_service()->AddPage(GURL("http://bar.foo.com/gaa.html"), in TEST_F()
264 history_service()->AddPage(GURL("http://www.foo.com/bar.html?a=b"), in TEST_F()
269 history_service()->AddPage(GURL("http://www.foo.com/bar.html"), in TEST_F()
274 history_service()->AddPage(GURL("https://www.foo.com/goo.html"), in TEST_F()
321 history_service()->AddPage(GURL("http://www.foo.com/bar.html"), in TEST_F()
344 history_service()->AddPage(GURL("http://www.foo.com/"), in TEST_F()
[all …]
Dlast_download_finder.cc156 HistoryService* history_service = in SearchInProfile() local
159 if (!history_service) in SearchInProfile()
163 if (history_service->BackendLoaded()) { in SearchInProfile()
164 history_service->QueryDownloads( in SearchInProfile()
173 HistoryService* history_service) { in OnProfileHistoryLoaded() argument
176 history_service->QueryDownloads( in OnProfileHistoryLoaded()
Dlast_download_finder.h71 HistoryService* history_service);
/external/chromium_org/chrome/browser/bookmarks/
Dchrome_bookmark_client.cc37 HistoryService* history_service = in NotifyHistoryOfRemovedURLs() local
39 if (history_service) in NotifyHistoryOfRemovedURLs()
40 history_service->URLsNoLongerBookmarked(removed_urls); in NotifyHistoryOfRemovedURLs()
126 HistoryService* history_service = in GetTypedCountForNodes() local
129 history_service ? history_service->InMemoryDatabase() : NULL; in GetTypedCountForNodes()
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_quick_provider.cc121 HistoryService* const history_service = in DoAutocomplete() local
129 if (history_service) { in DoAutocomplete()
130 history::URLDatabase* url_db = history_service->InMemoryDatabase(); in DoAutocomplete()
294 HistoryService* const history_service = in GetIndex() local
296 if (!history_service) in GetIndex()
299 return history_service->InMemoryIndex(); in GetIndex()
Dhistory_provider.cc26 HistoryService* const history_service = in DeleteMatch() local
32 DCHECK(history_service); in DeleteMatch()
34 history_service->DeleteURL(match.destination_url); in DeleteMatch()
Dextension_app_provider.cc217 HistoryService* const history_service = in CalculateRelevance() local
219 history::URLDatabase* url_db = history_service ? in CalculateRelevance()
220 history_service->InMemoryDatabase() : NULL; in CalculateRelevance()
Dshortcuts_provider.cc116 HistoryService* const history_service = in DeleteMatch() local
118 DCHECK(history_service); in DeleteMatch()
119 history_service->DeleteURL(url); in DeleteMatch()
/external/chromium_org/chrome/browser/history/
Dhistory_service_factory.cc72 HistoryService* history_service = new HistoryService( in BuildServiceInstanceFor() local
74 if (!history_service->Init(profile->GetPath())) { in BuildServiceInstanceFor()
77 return history_service; in BuildServiceInstanceFor()
Ddelete_directive_handler.h32 void Start(HistoryService* history_service,
56 HistoryService* history_service,
Durl_index_private_data.h86 bool UpdateURL(HistoryService* history_service,
101 void ScheduleUpdateRecentVisits(HistoryService* history_service,
261 HistoryService* history_service,
Ddelete_directive_handler.cc294 HistoryService* history_service, in Start() argument
301 history_service->ScheduleDBTask( in Start()
380 HistoryService* history_service, in ProcessSyncChanges() argument
411 history_service->ScheduleDBTask( in ProcessSyncChanges()
/external/chromium_org/chrome/browser/ui/omnibox/
Dalternate_nav_infobar_delegate.cc78 HistoryService* const history_service = in LinkClicked() local
80 if (history_service) in LinkClicked()
81 history_service->DeleteKeywordSearchTermForURL(search_url_); in LinkClicked()
/external/chromium_org/chrome/test/base/
Dtesting_profile.cc456 HistoryService* history_service = static_cast<HistoryService*>( in CreateHistoryService() local
459 if (!history_service->Init(this->GetPath(), no_db)) { in CreateHistoryService()
468 HistoryService* history_service = in DestroyHistoryService() local
470 if (!history_service) in DestroyHistoryService()
473 history_service->ClearCachedDataForContextID(0); in DestroyHistoryService()
474 history_service->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure()); in DestroyHistoryService()
475 history_service->Cleanup(); in DestroyHistoryService()
561 HistoryService* history_service = in BlockUntilHistoryIndexIsRefreshed() local
563 DCHECK(history_service); in BlockUntilHistoryIndexIsRefreshed()
564 history::InMemoryURLIndex* index = history_service->InMemoryIndex(); in BlockUntilHistoryIndexIsRefreshed()
[all …]
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_browsertest.cc135 void QueryHistory(HistoryService* history_service, in QueryHistory() argument
141 history_service->QueryHistory( in QueryHistory()
272 HistoryService* history_service = HistoryServiceFactory::GetForProfile( in IN_PROC_BROWSER_TEST_F() local
276 QueryHistory(history_service, "", options, &results); in IN_PROC_BROWSER_TEST_F()
Dsupervised_user_navigation_observer.cc251 HistoryService* history_service = in OnRequestBlockedInternal() local
255 if (history_service) in OnRequestBlockedInternal()
256 history_service->AddPage(add_page_args); in OnRequestBlockedInternal()
/external/chromium_org/chrome/browser/ui/webui/omnibox/
Domnibox_ui_handler.cc147 HistoryService* const history_service = in LookupIsTypedHost() local
150 if (!history_service) in LookupIsTypedHost()
152 history::URLDatabase* url_db = history_service->InMemoryDatabase(); in LookupIsTypedHost()
/external/chromium_org/chrome/browser/
Dcustom_home_pages_table_model.cc224 HistoryService* history_service = HistoryServiceFactory::GetForProfile( in LoadTitle() local
226 if (history_service) { in LoadTitle()
227 entry->task_id = history_service->QueryURL( in LoadTitle()
/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor.cc83 HistoryService* history_service = HistoryServiceFactory::GetForProfile( in AutocompleteActionPredictor() local
85 if (history_service) in AutocompleteActionPredictor()
86 history_service->InMemoryDatabase(); in AutocompleteActionPredictor()
479 HistoryService* history_service = in CreateCaches() local
481 if (!TryDeleteOldEntries(history_service)) { in CreateCaches()
Dautocomplete_action_predictor_unittest.cc192 HistoryService* history_service = in DeleteOldIdsFromCaches() local
195 ASSERT_TRUE(history_service); in DeleteOldIdsFromCaches()
197 history::URLDatabase* url_db = history_service->InMemoryDatabase(); in DeleteOldIdsFromCaches()
/external/chromium_org/chrome/browser/importer/
Dprofile_writer_unittest.cc94 HistoryService* history_service = in VerifyHistoryCount() local
99 history_service->QueryHistory( in VerifyHistoryCount()

12