summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_script_fetcher_impl_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy/proxy_script_fetcher_impl_unittest.cc')
-rw-r--r--net/proxy/proxy_script_fetcher_impl_unittest.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc
index 2642f4d..4734997 100644
--- a/net/proxy/proxy_script_fetcher_impl_unittest.cc
+++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc
@@ -4,6 +4,8 @@
#include "net/proxy/proxy_script_fetcher_impl.h"
+#include <string>
+
#include "base/file_path.h"
#include "base/compiler_specific.h"
#include "base/path_service.h"
@@ -73,6 +75,10 @@ class ProxyScriptFetcherImplTest : public PlatformTest {
: test_server_(net::TestServer::TYPE_HTTP, FilePath(kDocRoot)) {
}
+ static void SetUpTestCase() {
+ URLRequest::AllowFileAccess();
+ }
+
protected:
net::TestServer test_server_;
};