Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: ios/web/web_state/web_state_impl.h

Issue 2724383003: Removed -[CRWWebDelegate webDidStartLoadingURL:updateHistory:]. (Closed)
Patch Set: Fixed ios_web_unittests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698