From e352f3558792e1dc0e3910b87ba7ad4ed68ce37d Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Thu, 12 Mar 2009 22:32:29 +0000 Subject: Implement WebSandboxSupport. R=dglazkov Review URL: http://codereview.chromium.org/42146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11588 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/worker/worker_webkitclient_impl.cc | 20 ++++---------------- chrome/worker/worker_webkitclient_impl.h | 5 +---- 2 files changed, 5 insertions(+), 20 deletions(-) (limited to 'chrome/worker') diff --git a/chrome/worker/worker_webkitclient_impl.cc b/chrome/worker/worker_webkitclient_impl.cc index 980b417..94f71cf 100644 --- a/chrome/worker/worker_webkitclient_impl.cc +++ b/chrome/worker/worker_webkitclient_impl.cc @@ -11,6 +11,10 @@ WebKit::WebMimeRegistry* WorkerWebKitClientImpl::mimeRegistry() { return NULL; } +WebKit::WebSandboxSupport* WorkerWebKitClientImpl::sandboxSupport() { + return NULL; +} + uint64_t WorkerWebKitClientImpl::visitedLinkHash(const char* canonical_url, size_t length) { return 0; @@ -36,19 +40,3 @@ void WorkerWebKitClientImpl::prefetchHostName(const WebKit::WebString&) { WebKit::WebString WorkerWebKitClientImpl::defaultLocale() { return WebKit::WebString(); } - -void WorkerWebKitClientImpl::decrementStatsCounter(const char* name) { -} - -void WorkerWebKitClientImpl::incrementStatsCounter(const char* name) { -} - -void WorkerWebKitClientImpl::traceEventBegin(const char* name, - void* id, - const char* extra) { -} - -void WorkerWebKitClientImpl::traceEventEnd(const char* name, - void* id, - const char* extra) { -} diff --git a/chrome/worker/worker_webkitclient_impl.h b/chrome/worker/worker_webkitclient_impl.h index 0f3d754..d378909 100644 --- a/chrome/worker/worker_webkitclient_impl.h +++ b/chrome/worker/worker_webkitclient_impl.h @@ -11,6 +11,7 @@ class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl { public: // WebKitClient methods: virtual WebKit::WebMimeRegistry* mimeRegistry(); + virtual WebKit::WebSandboxSupport* sandboxSupport(); virtual uint64_t visitedLinkHash(const char* canonicalURL, size_t length); virtual bool isLinkVisited(uint64_t linkHash); virtual void setCookies(const WebKit::WebURL& url, @@ -20,10 +21,6 @@ class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl { const WebKit::WebURL& policy_url); virtual void prefetchHostName(const WebKit::WebString&); virtual WebKit::WebString defaultLocale(); - virtual void decrementStatsCounter(const char* name); - virtual void incrementStatsCounter(const char* name); - virtual void traceEventBegin(const char* name, void* id, const char* extra); - virtual void traceEventEnd(const char* name, void* id, const char* extra); }; #endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ -- cgit v1.1