mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-11 09:08:06 +01:00
49a34d9160
Add "cef/" prefix for CEF #includes in libcef/ directory. Sort #includes by following https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes
25 lines
854 B
C++
25 lines
854 B
C++
// 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 "cef/include/cef_request.h"
|
|
#include "cef/include/cef_resource_handler.h"
|
|
|
|
namespace net_service {
|
|
|
|
class ResourceResponse;
|
|
|
|
// Create a ResourceResponse that delegates to |handler|.
|
|
// The resulting object should be passed to
|
|
// InterceptedRequestHandler::ShouldInterceptRequestResultCallback.
|
|
std::unique_ptr<ResourceResponse> CreateResourceResponse(
|
|
int32_t request_id,
|
|
CefRefPtr<CefResourceHandler> handler);
|
|
|
|
} // namespace net_service
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_NET_SERVICE_RESOURCE_HANDLER_WRAPPER_H_
|