Home
last modified time | relevance | path

Searched refs:cancel_callback (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/components/dom_distiller/core/
Dtask_tracker_unittest.cc70 TestCancelCallback cancel_callback; in TEST_F() local
71 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
78 TestCancelCallback cancel_callback; in TEST_F() local
79 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
87 TestCancelCallback cancel_callback; in TEST_F() local
88 TaskTracker task_tracker(GetDefaultEntry(), cancel_callback.GetCallback()); in TEST_F()
95 EXPECT_FALSE(cancel_callback.Cancelled()); in TEST_F()
97 EXPECT_FALSE(cancel_callback.Cancelled()); in TEST_F()
99 EXPECT_TRUE(cancel_callback.Cancelled()); in TEST_F()
104 TestCancelCallback cancel_callback; in TEST_F() local
[all …]
Ddom_distiller_service.cc125 TaskTracker::CancelCallback cancel_callback = in CreateTaskTracker() local
127 TaskTracker* tracker = new TaskTracker(entry, cancel_callback); in CreateTaskTracker()
/external/chromium_org/content/browser/media/
Dwebrtc_identity_store_unittest.cc71 base::Closure cancel_callback = webrtc_identity_store_->RequestIdentity( in RequestIdentityAndRunUtilIdle() local
76 EXPECT_FALSE(cancel_callback.is_null()); in RequestIdentityAndRunUtilIdle()
78 return cancel_callback; in RequestIdentityAndRunUtilIdle()
95 base::Closure cancel_callback = in TEST_F() local
108 base::Closure cancel_callback = webrtc_identity_store_->RequestIdentity( in TEST_F() local
113 ASSERT_FALSE(cancel_callback.is_null()); in TEST_F()
114 cancel_callback.Run(); in TEST_F()
/external/chromium_org/chrome/browser/drive/
Ddrive_uploader.cc112 CancelCallback cancel_callback; member
119 if (!cancel_callback.is_null()) in Cancel()
120 cancel_callback.Run(); in Cancel()
253 info_ptr->cancel_callback = drive_service_->InitiateUploadNewFile( in StartInitiateUploadNewFile()
270 info_ptr->cancel_callback = drive_service_->InitiateUploadExistingFile( in StartInitiateUploadExistingFile()
307 info_ptr->cancel_callback = drive_service_->GetUploadStatus( in StartGetUploadStatus()
334 info_ptr->cancel_callback = drive_service_->ResumeUpload( in UploadNextChunk()
/external/chromium_org/webkit/browser/fileapi/
Dfile_system_operation_impl.cc224 void FileSystemOperationImpl::Cancel(const StatusCallback& cancel_callback) { in Cancel() argument
226 cancel_callback_ = cancel_callback; in Cancel()
477 StatusCallback cancel_callback = cancel_callback_; in DidFinishOperation() local
481 cancel_callback.Run(rv == base::PLATFORM_FILE_ERROR_ABORT ? in DidFinishOperation()
540 StatusCallback cancel_callback = cancel_callback_; in DidWrite() local
542 if (!cancel_callback.is_null()) in DidWrite()
543 cancel_callback.Run(base::PLATFORM_FILE_OK); in DidWrite()
Dfile_system_operation.h342 virtual void Cancel(const StatusCallback& cancel_callback) = 0;
Dfile_system_operation_impl.h73 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE; in NON_EXPORTED_BASE()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_engine_initializer.cc57 google_apis::CancelCallback* cancel_callback, in GetRemainingFileList() argument
65 *cancel_callback = api_service->GetRemainingFileList(next_url, callback); in GetRemainingFileList()
/external/chromium_org/chrome/browser/sync_file_system/local/
Dsyncable_file_system_operation.cc282 const StatusCallback& cancel_callback) { in Cancel() argument
284 impl_->Cancel(cancel_callback); in Cancel()
Dsyncable_file_system_operation.h74 virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE; in NON_EXPORTED_BASE()
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Ddownload_operation_unittest.cc449 base::Closure cancel_callback; in TEST_F() local
457 &init_error, &init_entry, &init_path, &cancel_callback), in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/
Djob_scheduler.cc215 if (!job->cancel_callback.is_null()) in CancelJob()
216 job->cancel_callback.Run(); in CancelJob()
837 entry->cancel_callback = entry->task.Run(); in DoJobLoop()
920 job_entry->cancel_callback.Reset(); in OnJobDone()
Djob_scheduler.h240 google_apis::CancelCallback cancel_callback; member