| Index: content/browser/frame_host/navigation_request.h
|
| diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
|
| index 2c96e127ee42c6309e963a60fd56d41e6afa578e..4dca8882a7390b1b3eda190bc14b10b3b42409e0 100644
|
| --- a/content/browser/frame_host/navigation_request.h
|
| +++ b/content/browser/frame_host/navigation_request.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <memory>
|
|
|
| +#include "base/callback_forward.h"
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "content/browser/frame_host/navigation_entry_impl.h"
|
| @@ -157,6 +158,11 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
|
| void TransferNavigationHandleOwnership(
|
| RenderFrameHostImpl* render_frame_host);
|
|
|
| + void set_on_start_checks_complete_closure_for_testing(
|
| + const base::Closure& closure) {
|
| + on_start_checks_complete_closure_ = closure;
|
| + }
|
| +
|
| private:
|
| NavigationRequest(FrameTreeNode* frame_tree_node,
|
| const CommonNavigationParams& common_params,
|
| @@ -230,6 +236,8 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
|
| scoped_refptr<ResourceResponse> response_;
|
| std::unique_ptr<StreamHandle> body_;
|
|
|
| + base::Closure on_start_checks_complete_closure_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
|
| };
|
|
|
|
|