ipfs-chromium
chromium_http.h
1 #ifndef IPFS_CHROMIUM_CHROMIUM_HTTP_H
2 #define IPFS_CHROMIUM_CHROMIUM_HTTP_H
3 
4 #include <ipfs_client/ctx/http_api.h>
5 
6 #include <vocab/raw_ptr.h>
7 
8 namespace network::mojom {
9 class URLLoaderFactory;
10 } // namespace network::mojom
11 
12 namespace ipfs {
15 class ChromiumHttp : public ctx::HttpApi {
16  raw_ptr<network::mojom::URLLoaderFactory> loader_factory_ = nullptr;
17 
18  public:
19  Canceller SendHttpRequest(ReqDesc, OnComplete cb) const override;
20  ChromiumHttp(network::mojom::URLLoaderFactory&);
21 };
22 } // namespace ipfs
23 
24 #endif // IPFS_CHROMIUM_CHROMIUM_HTTP_H
Definition: chromium_http.h:15
Definition: http_api.h:11
Definition: http_request_description.h:12