summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/renderer_webkitclient_impl.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 16:57:51 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 16:57:51 +0000
commitb921cfd2c37845a0663570ddd3a6a9ec9c49a093 (patch)
treed3a3e1d52ede9bcc1639dcd18635b9df9a152acb /chrome/renderer/renderer_webkitclient_impl.h
parent520dc79d6c0262b48da86e72c34a89a937486ed7 (diff)
downloadchromium_src-b921cfd2c37845a0663570ddd3a6a9ec9c49a093.zip
chromium_src-b921cfd2c37845a0663570ddd3a6a9ec9c49a093.tar.gz
chromium_src-b921cfd2c37845a0663570ddd3a6a9ec9c49a093.tar.bz2
Implement WebCookieJar.
Moves the implementation of cookie methods in RendererWebKitClientImpl into RendererWebCookieJarImpl. Moves the implementation of cookie methods in TestShellWebKitInit into SimpleWebCookieJarImpl. This leaves us with no longer implementing the cookie methods on WebKitClient. That'll allow us to delete those. WebPluginImpl needs to access the WebCookieJar used by either the renderer or test_shell. To enable that, I added a GetCookieJar method on WebPluginPageDelegate. This interface is used whenever the WebPluginImpl needs to talk to the RenderView or TestWebViewDelegate. R=jorlow BUG=35589 Review URL: http://codereview.chromium.org/661070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40023 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webkitclient_impl.h')
-rw-r--r--chrome/renderer/renderer_webkitclient_impl.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/chrome/renderer/renderer_webkitclient_impl.h b/chrome/renderer/renderer_webkitclient_impl.h
index b3a446c..71154c8 100644
--- a/chrome/renderer/renderer_webkitclient_impl.h
+++ b/chrome/renderer/renderer_webkitclient_impl.h
@@ -32,24 +32,13 @@ class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl {
virtual WebKit::WebClipboard* clipboard();
virtual WebKit::WebMimeRegistry* mimeRegistry();
virtual WebKit::WebSandboxSupport* sandboxSupport();
+ virtual WebKit::WebCookieJar* cookieJar();
virtual bool sandboxEnabled();
virtual bool getFileSize(const WebKit::WebString& path, long long& result);
virtual unsigned long long visitedLinkHash(
const char* canonicalURL, size_t length);
virtual bool isLinkVisited(unsigned long long linkHash);
virtual WebKit::WebMessagePortChannel* createMessagePortChannel();
- virtual void setCookies(const WebKit::WebURL& url,
- const WebKit::WebURL& first_party_for_cookies,
- const WebKit::WebString&);
- virtual WebKit::WebString cookies(
- const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies);
- virtual bool rawCookies(const WebKit::WebURL& url,
- const WebKit::WebURL& first_party_for_cookies,
- WebKit::WebVector<WebKit::WebCookie>* raw_cookies);
- virtual void deleteCookie(const WebKit::WebURL& url,
- const WebKit::WebString& cookie_name);
- virtual bool cookiesEnabled(const WebKit::WebURL& url,
- const WebKit::WebURL& first_party_for_cookies);
virtual void prefetchHostName(const WebKit::WebString&);
virtual WebKit::WebString defaultLocale();
virtual void suddenTerminationChanged(bool enabled);
@@ -110,8 +99,6 @@ class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl {
};
#endif
- void SendCookieMessage(IPC::SyncMessage* message);
-
webkit_glue::WebClipboardImpl clipboard_;
MimeRegistry mime_registry_;