HomeSort by relevance Sort by last modified time
    Searched refs:DrainData (Results 1 - 3 of 3) sorted by null

  /external/libmojo/mojo/edk/js/
drain_data.h 19 // drainData() method. It is not intended to be used directly. The caller
20 // allocates a DrainData on the heap and returns GetPromise() to JS. The
24 class DrainData {
28 DrainData(v8::Isolate* isolate, mojo::Handle handle);
31 // Should be called just once on a newly allocated DrainData object.
35 ~DrainData();
drain_data.cc 22 DrainData::DrainData(v8::Isolate* isolate, mojo::Handle handle)
30 v8::Handle<v8::Value> DrainData::GetPromise() {
38 DrainData::~DrainData() {
42 void DrainData::WaitForData() {
45 base::Bind(&DrainData::DataReady, base::Unretained(this)));
48 void DrainData::DataReady(MojoResult result) {
62 MojoResult DrainData::ReadData() {
75 void DrainData::DeliverData(MojoResult result)
    [all...]
core.cc 279 // The drainData data pipe handle argument is closed automatically.
283 return (new DrainData(args->isolate(), handle->release()))->GetPromise();
318 .SetMethod("drainData", DoDrainData)

Completed in 221 milliseconds