Home
last modified time | relevance | path

Searched refs:history_backend_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/sync/
Dprofile_sync_service_typed_url_unittest.cc134 history_backend_ = new HistoryBackendMock(); in SetUp()
138 history_backend_.get())); in SetUp()
147 history_backend_ = NULL; in TearDown()
173 history_backend_.get(), in StartSyncService()
244 EXPECT_CALL((*history_backend_.get()), SetPageTitle(_, _)).Times(0); in SetIdleChangeProcessorExpectations()
245 EXPECT_CALL((*history_backend_.get()), UpdateURL(_, _)).Times(0); in SetIdleChangeProcessorExpectations()
246 EXPECT_CALL((*history_backend_.get()), GetURL(_, _)).Times(0); in SetIdleChangeProcessorExpectations()
247 EXPECT_CALL((*history_backend_.get()), DeleteURL(_)).Times(0); in SetIdleChangeProcessorExpectations()
286 scoped_refptr<HistoryBackendMock> history_backend_; member in ProfileSyncServiceTypedUrlTest
313 EXPECT_CALL((*history_backend_.get()), GetAllTypedURLs(_)). in TEST_F()
[all …]
/external/chromium/chrome/browser/history/
Dhistory.h706 NewRunnableMethod(history_backend_.get(), func, in Schedule()
722 NewRunnableMethod(history_backend_.get(), func, in Schedule()
743 NewRunnableMethod(history_backend_.get(), func, in Schedule()
766 NewRunnableMethod(history_backend_.get(), func, in Schedule()
782 ScheduleTask(priority, NewRunnableMethod(history_backend_.get(), func)); in ScheduleAndForget()
791 ScheduleTask(priority, NewRunnableMethod(history_backend_.get(), func, a)); in ScheduleAndForget()
801 ScheduleTask(priority, NewRunnableMethod(history_backend_.get(), func, in ScheduleAndForget()
813 ScheduleTask(priority, NewRunnableMethod(history_backend_.get(), func, in ScheduleAndForget()
830 ScheduleTask(priority, NewRunnableMethod(history_backend_.get(), func, in ScheduleAndForget()
850 scoped_refptr<history::HistoryBackend> history_backend_; variable
Dhistory.cc166 if (!history_backend_) in UnloadBackend()
190 NewRunnableMethod(history_backend_.get(), &HistoryBackend::Closing); in UnloadBackend()
191 history_backend_ = NULL; in UnloadBackend()
776 if (!thread_ || history_backend_) in LoadBackendIfNecessary()
783 history_backend_.swap(backend); in LoadBackendIfNecessary()
Dhistory_backend.cc130 : history_backend_(history_backend) { in CommitLaterTask()
136 history_backend_ = NULL; in Cancel()
140 if (history_backend_.get()) in RunCommit()
141 history_backend_->Commit(); in RunCommit()
149 scoped_refptr<HistoryBackend> history_backend_; member in history::CommitLaterTask
/external/chromium/chrome/browser/sync/glue/
Dtyped_url_model_associator.cc23 history_backend_(history_backend), in TypedUrlModelAssociator()
27 DCHECK(history_backend_); in TypedUrlModelAssociator()
38 if (!history_backend_->GetAllTypedURLs(&typed_urls)) { in AssociateModels()
47 if (!history_backend_->GetVisitsForURL(ix->id(), in AssociateModels()
292 history_backend_->SetPageTitle(title->first, title->second); in WriteToHistoryBackend()
296 history_backend_->AddPagesWithDetails(*new_urls, history::SOURCE_SYNCED); in WriteToHistoryBackend()
301 if (!history_backend_->UpdateURL(url->first, url->second)) { in WriteToHistoryBackend()
310 if (!history_backend_->AddVisits(visits->first, visits->second, in WriteToHistoryBackend()
318 if (!history_backend_->RemoveVisits(*deleted_visits)) { in WriteToHistoryBackend()
Dtyped_url_change_processor.cc26 history_backend_(history_backend), in TypedUrlChangeProcessor()
72 if (!history_backend_->GetVisitsForURL(url->id(), in HandleURLsModified()
162 if (!history_backend_->GetVisitsForURL(details->row.id(), &visits) || in HandleURLsVisited()
211 history_backend_->DeleteURL(url); in ApplyChangesFromSyncModel()
263 if (!history_backend_->GetURL(url, &old_url)) { in ApplyChangesFromSyncModel()
270 if (!history_backend_->GetVisitsForURL(old_url.id(), &visits)) { in ApplyChangesFromSyncModel()
Dtyped_url_change_processor.h76 history::HistoryBackend* history_backend_; variable
Dtyped_url_model_associator.h134 history::HistoryBackend* history_backend_; variable