| Index: ios/web/web_state/web_state_impl.h
|
| diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h
|
| index 21234069cb2fcd2a024d1c149437fc722a6530e0..6fc0d3c37c713b8a4ffc29d7dd00803eab1c17c3 100644
|
| --- a/ios/web/web_state/web_state_impl.h
|
| +++ b/ios/web/web_state/web_state_impl.h
|
| @@ -269,6 +269,12 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
|
| void OnNavigationItemChanged() override;
|
| void OnNavigationItemCommitted(
|
| const LoadCommittedDetails& load_details) override;
|
| +
|
| + // Updates the HTTP response headers for the main page using the headers
|
| + // passed to the OnHttpResponseHeadersReceived() function below.
|
| + // GetHttpResponseHeaders() can be used to get the headers.
|
| + void UpdateHttpResponseHeaders(const GURL& url);
|
| +
|
| WebState* GetWebState() override;
|
|
|
| protected:
|
| @@ -286,11 +292,6 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
|
| // nullptr if |url| does not correspond to a WebUI page.
|
| std::unique_ptr<web::WebUIIOS> CreateWebUIIOS(const GURL& url);
|
|
|
| - // Updates the HTTP response headers for the main page using the headers
|
| - // passed to the OnHttpResponseHeadersReceived() function below.
|
| - // GetHttpResponseHeaders() can be used to get the headers.
|
| - void UpdateHttpResponseHeaders(const GURL& url);
|
| -
|
| // Returns true if |web_controller_| has been set.
|
| bool Configured() const;
|
|
|
|
|