Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: chrome/utility/media_galleries/ipc_data_source.cc

Issue 2267963002: Add support for cancellation of demuxer reads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix and add tests. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/utility/media_galleries/ipc_data_source.h ('k') | media/base/data_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/media_galleries/ipc_data_source.cc
diff --git a/chrome/utility/media_galleries/ipc_data_source.cc b/chrome/utility/media_galleries/ipc_data_source.cc
index f9fce4ebb62b5ddb3de839b89539586cc8662150..63e09c449ee7dca35e4bd223ac09f4a54b3de14f 100644
--- a/chrome/utility/media_galleries/ipc_data_source.cc
+++ b/chrome/utility/media_galleries/ipc_data_source.cc
@@ -25,6 +25,10 @@ void IPCDataSource::Stop() {
DCHECK(data_source_thread_checker_.CalledOnValidThread());
}
+void IPCDataSource::Abort() {
+ DCHECK(data_source_thread_checker_.CalledOnValidThread());
+}
+
void IPCDataSource::Read(int64_t position,
int size,
uint8_t* data,
« no previous file with comments | « chrome/utility/media_galleries/ipc_data_source.h ('k') | media/base/data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698