diff options
author | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-06 01:20:00 +0000 |
---|---|---|
committer | tkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-06 01:20:00 +0000 |
commit | 07487b946aa0b8704214f7b3e595d9aa6908dcc1 (patch) | |
tree | 943005c2e3620f06a9f02da233aae5adbde3bc7a /webkit/support/test_webkit_client.cc | |
parent | 2e3fb5e821d2735caedb72287ec7eed7683977d0 (diff) | |
download | chromium_src-07487b946aa0b8704214f7b3e595d9aa6908dcc1.zip chromium_src-07487b946aa0b8704214f7b3e595d9aa6908dcc1.tar.gz chromium_src-07487b946aa0b8704214f7b3e595d9aa6908dcc1.tar.bz2 |
webkit_support: Implement WebKitClient::blobRegistry().
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/3351007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webkit_client.cc')
-rw-r--r-- | webkit/support/test_webkit_client.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/support/test_webkit_client.cc b/webkit/support/test_webkit_client.cc index 3497377..cb176b1 100644 --- a/webkit/support/test_webkit_client.cc +++ b/webkit/support/test_webkit_client.cc @@ -42,6 +42,7 @@ #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" #include "webkit/tools/test_shell/test_shell_request_context.h" +#include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" #include "v8/include/v8.h" #if defined(OS_WIN) @@ -105,6 +106,8 @@ TestWebKitClient::TestWebKitClient(bool unit_test_mode) WebKit::WebDatabase::setObserver(&database_system_); + blob_registry_ = new TestShellWebBlobRegistryImpl(); + file_utilities_.set_sandbox_enabled(false); #if defined(OS_WIN) @@ -151,6 +154,10 @@ WebKit::WebCookieJar* TestWebKitClient::cookieJar() { return &cookie_jar_; } +WebKit::WebBlobRegistry* TestWebKitClient::blobRegistry() { + return blob_registry_.get(); +} + bool TestWebKitClient::sandboxEnabled() { return true; } |