summaryrefslogtreecommitdiffstats
path: root/chrome/worker
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 17:08:58 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-06 17:08:58 +0000
commit6b6e17d7ab4550cbeebe397ac9c8ddfd83a2d256 (patch)
tree38780e5e575952cbd665f0c6ecf1a3938e33b008 /chrome/worker
parent7f1c58e3b980034e23737647315f6745397b15b6 (diff)
downloadchromium_src-6b6e17d7ab4550cbeebe397ac9c8ddfd83a2d256.zip
chromium_src-6b6e17d7ab4550cbeebe397ac9c8ddfd83a2d256.tar.gz
chromium_src-6b6e17d7ab4550cbeebe397ac9c8ddfd83a2d256.tar.bz2
WorkerWebKitClientImpl snuck up on me. arggh!
This implementation is similar to the one we have TestShell, which is to say that we don't support visited links in the Worker process. TBR=dglazkov Review URL: http://codereview.chromium.org/40230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker')
-rw-r--r--chrome/worker/worker_webkitclient_impl.cc9
-rw-r--r--chrome/worker/worker_webkitclient_impl.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/chrome/worker/worker_webkitclient_impl.cc b/chrome/worker/worker_webkitclient_impl.cc
index 8bd147c..5873d3f 100644
--- a/chrome/worker/worker_webkitclient_impl.cc
+++ b/chrome/worker/worker_webkitclient_impl.cc
@@ -11,6 +11,15 @@ WebKit::WebMimeRegistry* WorkerWebKitClientImpl::mimeRegistry() {
return NULL;
}
+uint64_t WorkerWebKitClientImpl::visitedLinkHash(const char* canonical_url,
+ size_t length) {
+ return 0;
+}
+
+bool WorkerWebKitClientImpl::isLinkVisited(uint64_t link_hash) {
+ return false;
+}
+
void WorkerWebKitClientImpl::setCookies(const WebKit::WebURL& url,
const WebKit::WebURL& policy_url,
const WebKit::WebString& value) {
diff --git a/chrome/worker/worker_webkitclient_impl.h b/chrome/worker/worker_webkitclient_impl.h
index e8b9a73..7c623b9 100644
--- a/chrome/worker/worker_webkitclient_impl.h
+++ b/chrome/worker/worker_webkitclient_impl.h
@@ -11,6 +11,8 @@ class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl {
public:
// WebKitClient methods:
virtual WebKit::WebMimeRegistry* mimeRegistry();
+ virtual uint64_t visitedLinkHash(const char* canonicalURL, size_t length);
+ virtual bool isLinkVisited(uint64_t linkHash);
virtual void setCookies(const WebKit::WebURL& url,
const WebKit::WebURL& policy_url,
const WebKit::WebString& value);