diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 01:28:10 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 01:28:10 +0000 |
commit | 5eb4be2a0f9036b9b300f3f1d1764b506c9abefa (patch) | |
tree | 2219d3112077a4d6129f6bc4045d1b0ace04ade4 /webkit/support/test_webkit_client.h | |
parent | 240fbc1de4f075ff33081ada91e830791e0e225c (diff) | |
download | chromium_src-5eb4be2a0f9036b9b300f3f1d1764b506c9abefa.zip chromium_src-5eb4be2a0f9036b9b300f3f1d1764b506c9abefa.tar.gz chromium_src-5eb4be2a0f9036b9b300f3f1d1764b506c9abefa.tar.bz2 |
Add DRT support code for FileSystem
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3779005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webkit_client.h')
-rw-r--r-- | webkit/support/test_webkit_client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/support/test_webkit_client.h b/webkit/support/test_webkit_client.h index a601ecb..6f1d28d 100644 --- a/webkit/support/test_webkit_client.h +++ b/webkit/support/test_webkit_client.h @@ -73,6 +73,10 @@ class TestWebKitClient : public webkit_glue::WebKitClientImpl { return &url_loader_factory_; } + const FilePath& file_system_root() const { + return file_system_root_.path(); + } + private: TestShellWebMimeRegistryImpl mime_registry_; MockWebClipboardImpl mock_clipboard_; @@ -83,6 +87,7 @@ class TestWebKitClient : public webkit_glue::WebKitClientImpl { SimpleWebCookieJarImpl cookie_jar_; scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; SimpleFileSystem file_system_; + ScopedTempDir file_system_root_; WebURLLoaderMockFactory url_loader_factory_; bool unit_test_mode_; |