summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 08:21:16 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 08:21:16 +0000
commit7a8c55eae75bd81b712c66c71afa103b787f7115 (patch)
tree05bdefcec48dc05d5860d932cb07aadca404daab /chrome/plugin
parent79457797443d45463b92abcda0124706bdf1aff5 (diff)
downloadchromium_src-7a8c55eae75bd81b712c66c71afa103b787f7115.zip
chromium_src-7a8c55eae75bd81b712c66c71afa103b787f7115.tar.gz
chromium_src-7a8c55eae75bd81b712c66c71afa103b787f7115.tar.bz2
Remove frame_origin and main_frame_origin from network requests.
These properties have never worked properly and are a sandtrap for folk who might think they work properly. Extensions, for example, mistaken started using them. This patch removes them as we've finally removed all their clients! Yay cleanup! TEST=No behavior change BUG=None Review URL: http://codereview.chromium.org/6463005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/chrome_plugin_host.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/plugin/chrome_plugin_host.cc b/chrome/plugin/chrome_plugin_host.cc
index fcef53c..7a475c2 100644
--- a/chrome/plugin/chrome_plugin_host.cc
+++ b/chrome/plugin/chrome_plugin_host.cc
@@ -167,8 +167,6 @@ class PluginRequestHandlerProxy
request_info.first_party_for_cookies =
GURL(cprequest_->url); // TODO(jackson): policy url?
request_info.referrer = GURL(); // TODO(mpcomplete): referrer?
- request_info.frame_origin = "null";
- request_info.main_frame_origin = "null";
request_info.headers = extra_headers_;
request_info.load_flags = load_flags_;
request_info.requestor_pid = base::GetCurrentProcId();