Searched refs:PendingSend (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/device/serial/
H A Ddata_source_sender.cc16 class DataSourceSender::PendingSend { class in class:device::DataSourceSender
18 PendingSend(DataSourceSender* sender, const ReadyCallback& callback);
46 class DataSourceSender::PendingSend::Buffer : public WritableBuffer {
49 PendingSend* send,
64 // The PendingSend to which this buffer has been created in response.
65 PendingSend* pending_send_;
99 pending_send_.reset(new PendingSend(this, ready_callback_));
109 pending_send_.reset(new PendingSend(this, ready_callback_));
179 DataSourceSender::PendingSend::PendingSend(DataSourceSende function in class:device::DataSourceSender::PendingSend
[all...]
H A Ddata_sender.h53 class PendingSend;
66 // waiting if the pipe is full. When a PendingSend in |pending_sends_| has
92 // A queue of PendingSend that have not yet been fully written to the data
94 std::queue<linked_ptr<PendingSend> > pending_sends_;
96 // A queue of PendingSend that have been written to the data pipe, but have
98 std::queue<linked_ptr<PendingSend> > sends_awaiting_ack_;
H A Ddata_sender.cc14 class DataSender::PendingSend { class in class:device::DataSender
16 PendingSend(const base::StringPiece& data,
94 pending_sends_.push(linked_ptr<PendingSend>(
95 new PendingSend(data, callback, error_callback, fatal_error_value_)));
216 DataSender::PendingSend::PendingSend(const base::StringPiece& data, function in class:device::DataSender::PendingSend
228 bool DataSender::PendingSend::ReportBytesSent(uint32_t* num_bytes) {
238 uint32_t DataSender::PendingSend::ReportBytesSentAndError(uint32_t* num_bytes,
251 void DataSender::PendingSend::DispatchFatalError() {
256 MojoResult DataSender::PendingSend
[all...]
H A Ddata_source_sender.h39 class PendingSend;
78 scoped_ptr<PendingSend> pending_send_;
/external/chromium_org/extensions/renderer/resources/
H A Ddata_sender.js20 * @alias module:data_sender~PendingSend
23 function PendingSend(data) {
69 PendingSend.prototype.getPromise = function() {
74 * @typedef module:data_sender~PendingSend.ReportBytesResult
85 * [getPromise()]{@link module:data_sender~PendingSend#getPromise} once all
88 * @return {!module:data_sender~PendingSend.ReportBytesResult}
90 PendingSend.prototype.reportBytesSent = function(numBytes) {
101 * [getPromise()]{@link module:data_sender~PendingSend#getPromise} unless the
106 * @return {!module:data_sender~PendingSend.ReportBytesResult}
108 PendingSend
[all...]
/external/chromium_org/jingle/glue/
H A Dthread_wrapper.cc15 struct JingleThreadWrapper::PendingSend { struct in class:jingle_glue::JingleThreadWrapper
16 PendingSend(const rtc::Message& message_value) function in struct:jingle_glue::JingleThreadWrapper::PendingSend
111 for (std::list<PendingSend*>::iterator it = pending_send_messages_.begin();
113 std::list<PendingSend*>::iterator next = it;
156 PendingSend pending_send(message);
183 PendingSend* pending_send = NULL;
H A Dthread_wrapper.h99 struct PendingSend;
116 std::list<PendingSend*> pending_send_messages_;

Completed in 734 milliseconds