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

Unified Diff: ios/web/navigation/web_load_params.h

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 | « no previous file | ios/web/navigation/web_load_params.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/web_load_params.h
diff --git a/ios/web/navigation/web_load_params.h b/ios/web/navigation/web_load_params.h
index 0fea4df104068041206bc02f4a5bc82346395179..427cb2fedc4cea9acd3ce56aa89afd8cd96455f2 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;
« no previous file with comments | « no previous file | ios/web/navigation/web_load_params.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698