| Index: content/public/test/browser_test_base.h
|
| diff --git a/content/public/test/browser_test_base.h b/content/public/test/browser_test_base.h
|
| index fa14d40fcce454ad576c12492533e74964668c2c..f5ef43b933aaa4817c4f84ace46f0fecf360bd49 100644
|
| --- a/content/public/test/browser_test_base.h
|
| +++ b/content/public/test/browser_test_base.h
|
| @@ -121,6 +121,9 @@ class BrowserTestBase : public testing::Test {
|
| // instead.
|
| void UseSoftwareCompositing();
|
|
|
| + // Call this before SetUp to run without kAllowFileAccessFromFiles.
|
| + void RevokeFileAccessFromFiles();
|
| +
|
| // Returns true if the test will be using GL acceleration via OSMesa.
|
| bool UsingOSMesa() const;
|
|
|
| @@ -146,6 +149,9 @@ class BrowserTestBase : public testing::Test {
|
| // When true, do compositing with the software backend instead of using GL.
|
| bool use_software_compositing_;
|
|
|
| + // Controls the presence of the kAllowFileAccessFromFiles command line switch.
|
| + bool allow_file_access_from_files_;
|
| +
|
| // Whether SetUp was called. This value is checked in the destructor of this
|
| // class to ensure that SetUp was called. If it's not called, the test will
|
| // not run and report a false positive result.
|
|
|