| Index: ios/web/web_state/navigation_context_impl.h
|
| diff --git a/ios/web/web_state/navigation_context_impl.h b/ios/web/web_state/navigation_context_impl.h
|
| index 2e3d3386c103656f529970d5479598c53d34d358..b9b090ad6b211cfbdaf6c9b79cc7b1398e0901ad 100644
|
| --- a/ios/web/web_state/navigation_context_impl.h
|
| +++ b/ios/web/web_state/navigation_context_impl.h
|
| @@ -21,7 +21,8 @@ class NavigationContextImpl : public NavigationContext {
|
| // Response headers will ne null.
|
| static std::unique_ptr<NavigationContextImpl> CreateNavigationContext(
|
| WebState* web_state,
|
| - const GURL& url);
|
| + const GURL& url,
|
| + ui::PageTransition page_transition);
|
|
|
| #ifndef NDEBUG
|
| // Returns human readable description of this object.
|
| @@ -31,6 +32,7 @@ class NavigationContextImpl : public NavigationContext {
|
| // NavigationContext overrides:
|
| WebState* GetWebState() override;
|
| const GURL& GetUrl() const override;
|
| + ui::PageTransition GetPageTransition() const override;
|
| bool IsSameDocument() const override;
|
| bool IsErrorPage() const override;
|
| net::HttpResponseHeaders* GetResponseHeaders() const override;
|
| @@ -50,12 +52,14 @@ class NavigationContextImpl : public NavigationContext {
|
| NavigationContextImpl(
|
| WebState* web_state,
|
| const GURL& url,
|
| + ui::PageTransition page_transition,
|
| bool is_same_page,
|
| bool is_error_page,
|
| const scoped_refptr<net::HttpResponseHeaders>& response_headers);
|
|
|
| WebState* web_state_ = nullptr;
|
| GURL url_;
|
| + ui::PageTransition page_transition_;
|
| bool is_same_document_ = false;
|
| bool is_error_page_ = false;
|
| scoped_refptr<net::HttpResponseHeaders> response_headers_;
|
|
|