diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 22:32:29 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-12 22:32:29 +0000 |
commit | e352f3558792e1dc0e3910b87ba7ad4ed68ce37d (patch) | |
tree | 2649b464b56ddb434766775e9079482fa63091c7 /chrome/worker | |
parent | 396c3b382ee3333fcbdfa2002520dc4df65e7c7c (diff) | |
download | chromium_src-e352f3558792e1dc0e3910b87ba7ad4ed68ce37d.zip chromium_src-e352f3558792e1dc0e3910b87ba7ad4ed68ce37d.tar.gz chromium_src-e352f3558792e1dc0e3910b87ba7ad4ed68ce37d.tar.bz2 |
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
Diffstat (limited to 'chrome/worker')
-rw-r--r-- | chrome/worker/worker_webkitclient_impl.cc | 20 | ||||
-rw-r--r-- | chrome/worker/worker_webkitclient_impl.h | 5 |
2 files changed, 5 insertions, 20 deletions
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_ |