summaryrefslogtreecommitdiffstats
path: root/ios/web/navigation/web_load_params.mm
diff options
context:
space:
mode:
authoreugenebut <eugenebut@chromium.org>2016-03-26 02:15:37 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-26 09:17:49 +0000
commit2aca722505ea2a9a2fce3372978e210013e7c946 (patch)
treef0647af2e64db8577d345b6fca9f2979fb1c15ee /ios/web/navigation/web_load_params.mm
parent043ab27b4a422d665580b12b588cba2d47afc387 (diff)
downloadchromium_src-2aca722505ea2a9a2fce3372978e210013e7c946.zip
chromium_src-2aca722505ea2a9a2fce3372978e210013e7c946.tar.gz
chromium_src-2aca722505ea2a9a2fce3372978e210013e7c946.tar.bz2
[ios] Removed RequestTracker dependency from WebLoadParams.HEADmaster
WKWebView does not allow controlling the cache so cache_mode load param is not used. BUG=597990 Review URL: https://codereview.chromium.org/1836543002 Cr-Commit-Position: refs/heads/master@{#383452}
Diffstat (limited to 'ios/web/navigation/web_load_params.mm')
-rw-r--r--ios/web/navigation/web_load_params.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/ios/web/navigation/web_load_params.mm b/ios/web/navigation/web_load_params.mm
index 2c5a82c..ddb6067 100644
--- a/ios/web/navigation/web_load_params.mm
+++ b/ios/web/navigation/web_load_params.mm
@@ -10,7 +10,6 @@ WebLoadParams::WebLoadParams(const GURL& url)
: url(url),
transition_type(ui::PAGE_TRANSITION_LINK),
is_renderer_initiated(false),
- cache_mode(net::RequestTracker::CACHE_NORMAL),
post_data(NULL) {
}
@@ -21,7 +20,6 @@ WebLoadParams::WebLoadParams(const WebLoadParams& other)
referrer(other.referrer),
transition_type(other.transition_type),
is_renderer_initiated(other.is_renderer_initiated),
- cache_mode(other.cache_mode),
extra_headers([other.extra_headers copy]),
post_data([other.post_data copy]) {
}
@@ -32,7 +30,6 @@ WebLoadParams& WebLoadParams::operator=(
referrer = other.referrer;
is_renderer_initiated = other.is_renderer_initiated;
transition_type = other.transition_type;
- cache_mode = other.cache_mode;
extra_headers.reset([other.extra_headers copy]);
post_data.reset([other.post_data copy]);