Home | History | Annotate | Download | only in bindings

Lines Matching refs:InterfaceRequest

25 // implementation. If this is not done, the InterfaceRequest will automatically
29 class InterfaceRequest {
31 // Constructs an empty InterfaceRequest, representing that the client is not
33 InterfaceRequest() {}
34 InterfaceRequest(decltype(nullptr)) {}
38 // InterfaceRequest to the other. For example usage, see comments on
40 explicit InterfaceRequest(InterfacePtr<Interface>* ptr,
49 // Takes the message pipe from another InterfaceRequest.
50 InterfaceRequest(InterfaceRequest&& other) {
53 InterfaceRequest& operator=(InterfaceRequest&& other) {
58 // Assigning to nullptr resets the InterfaceRequest to an empty state,
60 InterfaceRequest& operator=(decltype(nullptr)) {
76 bool Equals(const InterfaceRequest& other) const {
102 DISALLOW_COPY_AND_ASSIGN(InterfaceRequest);
105 // Makes an InterfaceRequest bound to the specified message pipe. If |handle|
106 // is empty or invalid, the resulting InterfaceRequest will represent the
109 InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle) {
110 InterfaceRequest<Interface> request;
117 // InterfaceRequest bound to the other. The InterfacePtr should be passed to
118 // the client, and the InterfaceRequest should be passed to whatever will
120 // the InterfaceRequest using the Binding or StrongBinding classes. The client
154 // InterfaceRequest<Source> source_request(&source);
159 InterfaceRequest<Interface> MakeRequest(
163 return InterfaceRequest<Interface>(ptr, runner);
166 // Fuses an InterfaceRequest<T> endpoint with an InterfacePtrInfo<T> endpoint.
169 bool FuseInterface(InterfaceRequest<Interface> request,