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

Unified Diff: mojo/edk/system/data_pipe.cc

Issue 2047823002: Remove no-longer-needed IsBusy...() stuff. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_dp_not_busy-x-work790_dp_cancel_two_phase
Patch Set: Created 4 years, 6 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 | « mojo/edk/system/data_pipe.h ('k') | mojo/edk/system/data_pipe_consumer_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/data_pipe.cc
diff --git a/mojo/edk/system/data_pipe.cc b/mojo/edk/system/data_pipe.cc
index d671a7625e93043f18e3a09f7aea4e76aeaf5b1d..4a6d5ae0ba3956d6df54fc40700916ef17c5c5a4 100644
--- a/mojo/edk/system/data_pipe.cc
+++ b/mojo/edk/system/data_pipe.cc
@@ -457,11 +457,6 @@ bool DataPipe::ProducerEndSerialize(
return rv;
}
-bool DataPipe::ProducerIsBusy() const {
- MutexLocker locker(&mutex_);
- return producer_in_two_phase_write_no_lock();
-}
-
void DataPipe::ConsumerCancelAllState() {
MutexLocker locker(&mutex_);
ConsumerCancelAllStateNoLock();
@@ -681,11 +676,6 @@ bool DataPipe::ConsumerEndSerialize(
return rv;
}
-bool DataPipe::ConsumerIsBusy() const {
- MutexLocker locker(&mutex_);
- return consumer_in_two_phase_read_no_lock();
-}
-
DataPipe::DataPipe(bool has_local_producer,
bool has_local_consumer,
const MojoCreateDataPipeOptions& validated_options,
« no previous file with comments | « mojo/edk/system/data_pipe.h ('k') | mojo/edk/system/data_pipe_consumer_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698