| 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 24980b97da4696d2062a99ef41757bc9237454ce..32512b12640af58f8b610457c1082b781c355909 100644
|
| --- a/content/browser/frame_host/navigation_request.h
|
| +++ b/content/browser/frame_host/navigation_request.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "content/browser/frame_host/navigation_entry_impl.h"
|
| +#include "content/browser/frame_host/navigation_handle_impl.h"
|
| #include "content/browser/loader/navigation_url_loader_delegate.h"
|
| #include "content/common/content_export.h"
|
| #include "content/common/frame_message_enums.h"
|
| @@ -161,9 +162,9 @@ 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;
|
| + void set_on_checks_complete_callback_for_testing(
|
| + const NavigationHandleImpl::ThrottleChecksFinishedCallback& callback) {
|
| + on_checks_complete_callback_ = callback;
|
| }
|
|
|
| private:
|
| @@ -253,7 +254,8 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
|
| scoped_refptr<ResourceResponse> response_;
|
| std::unique_ptr<StreamHandle> body_;
|
|
|
| - base::Closure on_start_checks_complete_closure_;
|
| + NavigationHandleImpl::ThrottleChecksFinishedCallback
|
| + on_checks_complete_callback_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
|
| };
|
|
|