summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 21:56:28 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 21:56:28 +0000
commit85d85890e689af734e46660b561fcfc2b69f993f (patch)
tree2f20571ae2a9f83364b56666cfc488e69032fbe4 /webkit
parentc36c4b917c08cf84a7e5047b2b9c9724f9ec1855 (diff)
downloadchromium_src-85d85890e689af734e46660b561fcfc2b69f993f.zip
chromium_src-85d85890e689af734e46660b561fcfc2b69f993f.tar.gz
chromium_src-85d85890e689af734e46660b561fcfc2b69f993f.tar.bz2
Remove unused, wrong parameters from request_info.
Review URL: http://codereview.chromium.org/7005036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/resource_loader_bridge.h3
-rw-r--r--webkit/glue/weburlloader_impl.cc7
2 files changed, 0 insertions, 10 deletions
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index d206c1b..9b2fd09 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -215,9 +215,6 @@ class ResourceLoaderBridge {
// encoded as the url member.
GURL referrer;
- std::string frame_origin;
- std::string main_frame_origin;
-
// For HTTP(S) requests, the headers parameter can be a \r\n-delimited and
// \r\n-terminated list of MIME headers. They should be ASCII-encoded using
// the standard MIME header encoding rules. The headers parameter can also
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 26a783e..9105157 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -421,11 +421,6 @@ void WebURLLoaderImpl::Context::Start(
HeaderFlattener flattener(load_flags);
request.visitHTTPHeaderFields(&flattener);
- // TODO(abarth): These are wrong! I need to figure out how to get the right
- // strings here. See: http://crbug.com/8706
- std::string frame_origin = request.firstPartyForCookies().spec();
- std::string main_frame_origin = request.firstPartyForCookies().spec();
-
// TODO(brettw) this should take parameter encoding into account when
// creating the GURLs.
@@ -434,8 +429,6 @@ void WebURLLoaderImpl::Context::Start(
request_info.url = url;
request_info.first_party_for_cookies = request.firstPartyForCookies();
request_info.referrer = referrer_url;
- request_info.frame_origin = frame_origin;
- request_info.main_frame_origin = main_frame_origin;
request_info.headers = flattener.GetBuffer();
request_info.load_flags = load_flags;
// requestor_pid only needs to be non-zero if the request originates outside