// Copyright (c) 2019 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. #ifndef CEF_LIBCEF_BROWSER_NET_SERVICE_RESOURCE_HANDLER_WRAPPER_H_ #define CEF_LIBCEF_BROWSER_NET_SERVICE_RESOURCE_HANDLER_WRAPPER_H_ #include "include/cef_request.h" #include "include/cef_resource_handler.h" namespace net_service { class RequestId; class ResourceResponse; // Create a ResourceResponse that delegates to |handler|. // The resulting object should be passed to // InterceptedRequestHandler::ShouldInterceptRequestResultCallback. std::unique_ptr CreateResourceResponse( const RequestId& request_id, CefRefPtr handler); } // namespace net_service #endif // CEF_LIBCEF_BROWSER_NET_SERVICE_RESOURCE_HANDLER_WRAPPER_H_