diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 19:13:00 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 19:13:00 +0000 |
commit | 70daf0b18defd88e97f5f9ebcc9486c22898b66b (patch) | |
tree | 71e5c7cd9c7733ecafd589e8be81a67c67b2070a /chrome_frame/plugin_url_request.h | |
parent | 47b950579d39dc79127c1dc69f44c33c8ad269b0 (diff) | |
download | chromium_src-70daf0b18defd88e97f5f9ebcc9486c22898b66b.zip chromium_src-70daf0b18defd88e97f5f9ebcc9486c22898b66b.tar.gz chromium_src-70daf0b18defd88e97f5f9ebcc9486c22898b66b.tar.bz2 |
ChromeFrame should honor the host browser's cookie policy. To achieve this we always read the cookies from
the host browser when the renderer requests them. This also cleans up the mess with the host network stack
code parsing cookies from the host looking for persistent cookies.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=34151
Bug=34151
Test=Covered by existing host network stack tests and chrome frame cookie tests.
Review URL: http://codereview.chromium.org/661290
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/plugin_url_request.h')
-rw-r--r-- | chrome_frame/plugin_url_request.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/chrome_frame/plugin_url_request.h b/chrome_frame/plugin_url_request.h index efd6741..ffe0c73 100644 --- a/chrome_frame/plugin_url_request.h +++ b/chrome_frame/plugin_url_request.h @@ -23,18 +23,9 @@ class PluginUrlRequestManager; class DECLSPEC_NOVTABLE PluginUrlRequestDelegate { public: - // Persistent cookies are read from the host browser and passed off to Chrome - // These cookies are sent when we receive a response for every URL request - // initiated by Chrome. Ideally we should only send cookies for the top level - // URL and any subframes. However we don't receive information from Chrome - // about the context for a URL, i.e. whether it is a subframe, etc. - // Additionally cookies for a URL should be sent once for the page. This - // is not done now as it is difficult to track URLs, specifically if they - // are redirected, etc. virtual void OnResponseStarted(int request_id, const char* mime_type, const char* headers, int size, base::Time last_modified, - const std::string& peristent_cookies, const std::string& redirect_url, - int redirect_status) = 0; + const std::string& redirect_url, int redirect_status) = 0; virtual void OnReadComplete(int request_id, const void* buffer, int len) = 0; virtual void OnResponseEnd(int request_id, const URLRequestStatus& status) = 0; protected: |