Home
last modified time | relevance | path

Searched refs:StringDataPipeProducer (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/public/cpp/system/tests/
Dstring_data_pipe_producer_unittest.cc85 std::unique_ptr<StringDataPipeProducer> producer, in WriteStringThenCloseProducer()
87 StringDataPipeProducer::AsyncWritingMode mode) { in WriteStringThenCloseProducer()
88 StringDataPipeProducer* raw_producer = producer.get(); in WriteStringThenCloseProducer()
91 base::BindOnce([](std::unique_ptr<StringDataPipeProducer> producer, in WriteStringThenCloseProducer()
97 std::unique_ptr<StringDataPipeProducer> producer, in WriteStringsThenCloseProducer()
99 StringDataPipeProducer::AsyncWritingMode mode) { in WriteStringsThenCloseProducer()
100 StringDataPipeProducer* raw_producer = producer.get(); in WriteStringsThenCloseProducer()
105 [](std::unique_ptr<StringDataPipeProducer> producer, in WriteStringsThenCloseProducer()
107 StringDataPipeProducer::AsyncWritingMode mode, in WriteStringsThenCloseProducer()
130 std::make_unique<StringDataPipeProducer>(std::move(pipe.producer_handle)), in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/system/
Dstring_data_pipe_producer.cc58 StringDataPipeProducer::StringDataPipeProducer( in StringDataPipeProducer() function in mojo::StringDataPipeProducer
66 StringDataPipeProducer::~StringDataPipeProducer() = default;
68 void StringDataPipeProducer::Write(const base::StringPiece& data, in Write()
81 FROM_HERE, base::BindOnce(&StringDataPipeProducer::InvokeCallback, in Write()
94 base::Bind(&StringDataPipeProducer::OnProducerHandleReady, in Write()
99 void StringDataPipeProducer::InvokeCallback(MojoResult result) { in InvokeCallback()
104 void StringDataPipeProducer::OnProducerHandleReady( in OnProducerHandleReady()
Dstring_data_pipe_producer.h29 class MOJO_CPP_SYSTEM_EXPORT StringDataPipeProducer {
35 explicit StringDataPipeProducer(ScopedDataPipeProducerHandle producer);
36 ~StringDataPipeProducer();
83 base::WeakPtrFactory<StringDataPipeProducer> weak_factory_;
85 DISALLOW_COPY_AND_ASSIGN(StringDataPipeProducer);