SHARE
TWEET

New Error Custom Mojom

chandankharbanda5 Mar 27th, 2017 27 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ../../net/url_request/url_request_http_job.cc:512:40: error: no template named 'MakeRequest'; did you mean 'mojo::MakeRequest'?
  2.   interfaces::CorpDataSharingImpl impl(MakeRequest<interfaces::mojom::CorpDataSharing>(&corp_data_sharer));
  3.                                        ^~~~~~~~~~~
  4.                                        mojo::MakeRequest
  5. ../../mojo/public/cpp/bindings/interface_request.h:77:29: note: 'mojo::MakeRequest' declared here
  6. InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle) {
  7.                             ^
  8. ../../net/url_request/url_request_http_job.cc:512:40: error: no template named 'MakeRequest'; did you mean 'mojo::MakeRequest'?
  9.   interfaces::CorpDataSharingImpl impl(MakeRequest<interfaces::mojom::CorpDataSharing>(&corp_data_sharer));
  10.                                        ^~~~~~~~~~~
  11.                                        mojo::MakeRequest
  12. ../../mojo/public/cpp/bindings/interface_request.h:77:29: note: 'mojo::MakeRequest' declared here
  13. InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle) {
  14.                             ^
  15. ../../net/url_request/url_request_http_job.cc:512:40: error: no matching function for call to 'MakeRequest'
  16.   interfaces::CorpDataSharingImpl impl(MakeRequest<interfaces::mojom::CorpDataSharing>(&corp_data_sharer));
  17.                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. ../../mojo/public/cpp/bindings/interface_request.h:77:29: note: candidate function [with Interface = net::interfaces::mojom::CorpDataSharing] not viable: no known conversion from 'interfaces::mojom::CorpDataSharingPtr *' (aka 'InterfacePtr<net::interfaces::mojom::CorpDataSharing> *') to 'ScopedMessagePipeHandle' (aka 'ScopedHandleBase<mojo::MessagePipeHandle>') for 1st argument
  19. InterfaceRequest<Interface> MakeRequest(ScopedMessagePipeHandle handle) {
  20.                             ^
  21. 3 errors generated.
  22. ninja: build stopped: subcommand failed.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top