summaryrefslogtreecommitdiffstats
path: root/webkit/support/test_webkit_client.cc
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 01:28:10 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 01:28:10 +0000
commit5eb4be2a0f9036b9b300f3f1d1764b506c9abefa (patch)
tree2219d3112077a4d6129f6bc4045d1b0ace04ade4 /webkit/support/test_webkit_client.cc
parent240fbc1de4f075ff33081ada91e830791e0e225c (diff)
downloadchromium_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.cc')
-rw-r--r--webkit/support/test_webkit_client.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/support/test_webkit_client.cc b/webkit/support/test_webkit_client.cc
index 3bceef0..65897f4 100644
--- a/webkit/support/test_webkit_client.cc
+++ b/webkit/support/test_webkit_client.cc
@@ -117,6 +117,12 @@ TestWebKitClient::TestWebKitClient(bool unit_test_mode)
file_utilities_.set_sandbox_enabled(false);
+ if (!file_system_root_.CreateUniqueTempDir()) {
+ LOG(WARNING) << "Failed to create a temp dir for the filesystem."
+ "FileSystem feature will be disabled.";
+ DCHECK(file_system_root_.path().empty());
+ }
+
#if defined(OS_WIN)
// Ensure we pick up the default theme engine.
SetThemeEngine(NULL);