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

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

Issue 1836543002: [ios] Removed RequestTracker dependency from WebLoadParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/web_state_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_impl.mm
diff --git a/ios/web/web_state/web_state_impl.mm b/ios/web/web_state/web_state_impl.mm
index 9cd3386c3ec7b6337536194d3ee4e719efef4544..0fa982f2182f7167eb8ceb072d20b6790db6b63b 100644
--- a/ios/web/web_state/web_state_impl.mm
+++ b/ios/web/web_state/web_state_impl.mm
@@ -38,7 +38,6 @@ WebStateImpl::WebStateImpl(BrowserState* browser_state)
web_controller_(nil),
navigation_manager_(this, browser_state),
interstitial_(nullptr),
- cache_mode_(net::RequestTracker::CACHE_NORMAL),
weak_factory_(this) {
GlobalWebStateEventTracker::GetInstance()->OnWebStateCreated(this);
}
@@ -439,14 +438,6 @@ RequestTrackerImpl* WebStateImpl::GetRequestTracker() {
return request_tracker_.get();
}
-net::RequestTracker::CacheMode WebStateImpl::GetCacheMode() {
- return cache_mode_;
-}
-
-void WebStateImpl::SetCacheMode(net::RequestTracker::CacheMode mode) {
- cache_mode_ = mode;
-}
-
NSString* WebStateImpl::GetRequestGroupID() {
if (request_group_id_.get() == nil)
request_group_id_.reset([GenerateNewRequestGroupID() copy]);
« no previous file with comments | « ios/web/web_state/web_state_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698