summaryrefslogtreecommitdiffstats
path: root/ios/web/navigation/web_load_params.h
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.h
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.h')
-rw-r--r--ios/web/navigation/web_load_params.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/ios/web/navigation/web_load_params.h b/ios/web/navigation/web_load_params.h
index 0fea4df..427cb2f 100644
--- a/ios/web/navigation/web_load_params.h
+++ b/ios/web/navigation/web_load_params.h
@@ -8,18 +8,16 @@
#import <Foundation/Foundation.h>
#import "base/mac/scoped_nsobject.h"
-#include "ios/net/request_tracker.h"
#include "ios/web/public/referrer.h"
#include "ui/base/page_transition_types.h"
#include "url/gurl.h"
namespace web {
-// Parameters for creating a tab. Most paramaters are optional, and
-// can be left at the default values set by the constructor.
-// TODO(stuartmorgan): Remove the dependency on RequestTracker, then move
-// this into NavigationManager to parallel NavigationController's
-// LoadURLParams (which this is modeled after).
+// Parameters for URL loading. Most parameters are optional, and can be left at
+// the default values set by the constructor.
+// TODO(crbug.com/597990): Move this into NavigationManager to parallel
+// NavigationController's LoadURLParams (which this is modeled after).
struct WebLoadParams {
public:
// The URL to load. Must be set.
@@ -35,9 +33,6 @@ struct WebLoadParams {
// important for tracking whether to display pending URLs.
bool is_renderer_initiated;
- // The cache mode to load with. Defaults to CACHE_NORMAL.
- net::RequestTracker::CacheMode cache_mode;
-
// Any extra HTTP headers to add to the load.
base::scoped_nsobject<NSDictionary> extra_headers;