diff options
author | kkanetkar@chromium.org <kkanetkar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 04:46:14 +0000 |
---|---|---|
committer | kkanetkar@chromium.org <kkanetkar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 04:46:14 +0000 |
commit | f05ca65c8857804c078f06b260f3175493dd4720 (patch) | |
tree | f3d22e6412bf18bf9597729d91c468c4846ab598 /webkit/support/test_webkit_client.h | |
parent | 88dd4bc31fbce0e6cfe7612ba3fccd08407c1cb2 (diff) | |
download | chromium_src-f05ca65c8857804c078f06b260f3175493dd4720.zip chromium_src-f05ca65c8857804c078f06b260f3175493dd4720.tar.gz chromium_src-f05ca65c8857804c078f06b260f3175493dd4720.tar.bz2 |
Test shell impl for WebKit's File System API:BUG=52799TEST=none
Also refactored a bunch of code from chrome/browser to webkit/fileapi for reuse.
Added class hierarchy. Test shell and browser operations now inherit from
common webkit/fileapi/file_system_operation.
Review URL: http://codereview.chromium.org/3186009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webkit_client.h')
-rw-r--r-- | webkit/support/test_webkit_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/support/test_webkit_client.h b/webkit/support/test_webkit_client.h index 8a0b3a4..e7b2805 100644 --- a/webkit/support/test_webkit_client.h +++ b/webkit/support/test_webkit_client.h @@ -11,6 +11,7 @@ #include "webkit/tools/test_shell/mock_webclipboard_impl.h" #include "webkit/tools/test_shell/simple_appcache_system.h" #include "webkit/tools/test_shell/simple_database_system.h" +#include "webkit/tools/test_shell/simple_file_system.h" #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" @@ -28,6 +29,7 @@ class TestWebKitClient : public webkit_glue::WebKitClientImpl { virtual WebKit::WebSandboxSupport* sandboxSupport(); virtual WebKit::WebCookieJar* cookieJar(); virtual WebKit::WebBlobRegistry* blobRegistry(); + virtual WebKit::WebFileSystem* fileSystem(); virtual bool sandboxEnabled(); virtual WebKit::WebKitClient::FileHandle databaseOpenFile( @@ -76,6 +78,7 @@ class TestWebKitClient : public webkit_glue::WebKitClientImpl { SimpleDatabaseSystem database_system_; SimpleWebCookieJarImpl cookie_jar_; scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; + SimpleFileSystem file_system_; WebURLLoaderMockFactory url_loader_factory_; bool unit_test_mode_; |