diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 20:49:29 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 20:49:29 +0000 |
commit | 2e221ccd4a632f98e531c38696f663c83b707d1c (patch) | |
tree | c20b3babdde102fc9ff4ab0043446da543e0ffe3 /content/shell/webkit_test_runner_host.h | |
parent | 7ed25f83dea17c7c888f91bdd50f8e4f876daac9 (diff) | |
download | chromium_src-2e221ccd4a632f98e531c38696f663c83b707d1c.zip chromium_src-2e221ccd4a632f98e531c38696f663c83b707d1c.tar.gz chromium_src-2e221ccd4a632f98e531c38696f663c83b707d1c.tar.bz2 |
[content shell] avoid accessing the filesystem when io restrictions are enabled
BUG=111316
TEST=content_shell doesn't trigger thread io restrictions in debug mode
Review URL: https://chromiumcodereview.appspot.com/11363137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/webkit_test_runner_host.h')
-rw-r--r-- | content/shell/webkit_test_runner_host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/shell/webkit_test_runner_host.h b/content/shell/webkit_test_runner_host.h index 8616be6..53573bf 100644 --- a/content/shell/webkit_test_runner_host.h +++ b/content/shell/webkit_test_runner_host.h @@ -9,6 +9,7 @@ #include <string> #include "base/cancelable_callback.h" +#include "base/file_path.h" #include "base/threading/non_thread_safe.h" #include "content/public/browser/render_view_host_observer.h" #include "content/public/browser/web_contents_observer.h" @@ -71,6 +72,7 @@ class WebKitTestController : public base::NonThreadSafe, // True if the controller is ready for testing. bool PrepareForLayoutTest(const GURL& test_url, + const FilePath& current_working_directory, bool enable_pixel_dumping, const std::string& expected_pixel_hash); // True if the controller was reset successfully. @@ -127,6 +129,8 @@ class WebKitTestController : public base::NonThreadSafe, scoped_ptr<WebKitTestResultPrinter> printer_; + FilePath current_working_directory_; + Shell* main_window_; bool enable_pixel_dumping_; |