summaryrefslogtreecommitdiffstats
path: root/webkit/support/test_webplugin_page_delegate.h
diff options
context:
space:
mode:
authortkent@google.com <tkent@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 06:08:27 +0000
committertkent@google.com <tkent@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 06:08:27 +0000
commit3d56c24f0ab43d2b85986c4d6c17543b9a5cfcf2 (patch)
tree20be103316be4281a3b1c996f8779a75d3a9ad86 /webkit/support/test_webplugin_page_delegate.h
parentf37ec09b147ed275a671d07bdda7b43064479a89 (diff)
downloadchromium_src-3d56c24f0ab43d2b85986c4d6c17543b9a5cfcf2.zip
chromium_src-3d56c24f0ab43d2b85986c4d6c17543b9a5cfcf2.tar.gz
chromium_src-3d56c24f0ab43d2b85986c4d6c17543b9a5cfcf2.tar.bz2
* Implement WebPluginPageDelete::GetCookieJar()
* Do not use WebURLLoaderMock for DRT Unfortunately, r50382 (adding WebURLLoader mock) broke some plugin tests. - WebPluginImpl::InitiateHTTPRequest() stores a mocked WebURLLoader to clients_. - WebURLLoaderMock delegates some operations to its internal WebURLLoader. - WebPluginImpl::GetClientInfoFromLoader(WebURLLoader*) compares the specified pointer (non-mocked) to stored loader pointers (mocked). TEST=Covered by LayoutTests BUG=none Review URL: http://codereview.chromium.org/2834031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webplugin_page_delegate.h')
-rw-r--r--webkit/support/test_webplugin_page_delegate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/support/test_webplugin_page_delegate.h b/webkit/support/test_webplugin_page_delegate.h
index 05d4728..95f2b4a 100644
--- a/webkit/support/test_webplugin_page_delegate.h
+++ b/webkit/support/test_webplugin_page_delegate.h
@@ -34,7 +34,9 @@ class TestWebPluginPageDelegate : public webkit_glue::WebPluginPageDelegate {
const gfx::Size& size,
const std::string& json_arguments,
std::string* json_retval) {}
- virtual WebKit::WebCookieJar* GetCookieJar() { return NULL; }
+ virtual WebKit::WebCookieJar* GetCookieJar() {
+ return WebKit::webKitClient()->cookieJar();
+ }
};
} // namespace webkit_support