Home | History | Annotate | Download | only in base

Lines Matching refs:Handle

36   typedef HANDLE Handle;
37 typedef Handle TransitDescriptor;
39 typedef int Handle;
42 static const Handle kInvalidHandle;
46 // Creates a SyncSocket from a Handle. Used in transport.
47 explicit SyncSocket(Handle handle) : handle_(handle) {}
51 // |socket_a| and |socket_b| must not hold a valid handle. Upon successful
55 // Returns |Handle| wrapped in a |TransitDescriptor|.
56 static Handle UnwrapHandle(const TransitDescriptor& descriptor);
58 // Prepares a |TransitDescriptor| which wraps |Handle| used for transit.
60 // the handle to be used by the peer process.
68 // Note it is not safe to send messages from the same socket handle by
92 // Extracts the contained handle. Used for transferring between
94 Handle handle() const { return handle_; }
97 Handle handle_;
109 explicit CancelableSyncSocket(Handle handle);
153 const SyncSocket::Handle SyncSocket::kInvalidHandle = INVALID_HANDLE_VALUE;