Searched refs:document_root (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/net/test/spawned_test_server/
H A Dremote_test_server.h21 // |document_root| must be a relative path under the root tree.
24 const base::FilePath& document_root);
27 // |document_root| must be a relative path under the root tree.
30 const base::FilePath& document_root);
48 // on the Android device, otherwise document_root() function is used to get
53 bool Init(const base::FilePath& document_root);
H A Dlocal_test_server.h30 // |document_root| must be a relative path under the root tree.
33 const base::FilePath& document_root);
36 // |document_root| must be a relative path under the root tree.
39 const base::FilePath& document_root);
84 base::FilePath GetDocumentRoot() const { return document_root(); };
87 bool Init(const base::FilePath& document_root);
H A Dremote_test_server.cc69 const base::FilePath& document_root)
72 if (!Init(document_root))
78 const base::FilePath& document_root)
81 if (!Init(document_root))
160 return src_dir.Append(document_root());
163 bool RemoteTestServer::Init(const base::FilePath& document_root) { argument
164 if (document_root.IsAbsolute())
197 base::FilePath fixed_root = document_root;
67 RemoteTestServer(Type type, const std::string& host, const base::FilePath& document_root) argument
76 RemoteTestServer(Type type, const SSLOptions& ssl_options, const base::FilePath& document_root) argument
H A Dlocal_test_server.cc62 const base::FilePath& document_root)
64 if (!Init(document_root))
70 const base::FilePath& document_root)
72 if (!Init(document_root))
143 bool LocalTestServer::Init(const base::FilePath& document_root) { argument
144 if (document_root.IsAbsolute())
157 SetResourcePath(src_dir.Append(document_root),
60 LocalTestServer(Type type, const std::string& host, const base::FilePath& document_root) argument
68 LocalTestServer(Type type, const SSLOptions& ssl_options, const base::FilePath& document_root) argument
H A Dbase_test_server.h226 const base::FilePath& document_root() const { return document_root_; } function in class:net::BaseTestServer
274 void SetResourcePath(const base::FilePath& document_root,
H A Dbase_test_server.cc307 void BaseTestServer::SetResourcePath(const base::FilePath& document_root, argument
311 document_root_ = document_root;
/external/chromium_org/chrome/test/nacl/
H A Dnacl_browsertest_util.cc174 base::FilePath* document_root) {
175 if (!ui_test_utils::GetRelativeBuildDirectory(document_root))
177 *document_root = document_root->Append(FILE_PATH_LITERAL("nacl_test_data"));
178 *document_root = document_root->Append(variant);
205 bool NaClBrowserTestBase::GetDocumentRoot(base::FilePath* document_root) { argument
206 return GetNaClVariantRoot(Variant(), document_root);
261 base::FilePath document_root; local
262 if (!GetDocumentRoot(&document_root))
173 GetNaClVariantRoot(const base::FilePath::StringType& variant, base::FilePath* document_root) argument
301 GetDocumentRoot(base::FilePath* document_root) argument
326 base::FilePath document_root; local
344 base::FilePath document_root; local
[all...]
H A Dnacl_browsertest_util.h75 virtual bool GetDocumentRoot(base::FilePath* document_root);
143 virtual bool GetDocumentRoot(base::FilePath* document_root) OVERRIDE;
/external/chromium_org/tools/python/google/
H A Dhttpd_utils.py61 def StartServer(document_root=None, output_dir=None, apache2=False):
65 document_root: If present, specifies the document root for the server;
78 if not document_root:
79 document_root = platform_util.GetFilesystemRoot()
89 document_root,
185 print ("Usage: %s -k {start|stop} [-r document_root] [--apache2]" %
189 document_root = None
191 document_root = options.root
194 StartServer(document_root, apache2=options.apache2)
H A Dplatform_utils_win.py92 document_root=None, apache2=False):
101 document_root: full path to the DocumentRoot. If None, the DocumentRoot
104 you're using that one, be sure to specify a document_root here.
109 if document_root:
110 document_root = GetCygwinPath(document_root)
123 "document_root" : document_root,
162 if document_root:
163 httpd_cmd_string += ' -C \'DocumentRoot "%(document_root)
[all...]
H A Dplatform_utils_linux.py60 document_root=None, apache2=False):
69 document_root: full path to the DocumentRoot. If None, the DocumentRoot
72 you're using that one, be sure to specify a document_root here.
90 "document_root" : document_root,
120 if document_root:
121 httpd_cmd_string += ' -C \'DocumentRoot "%(document_root)s"\''
H A Dplatform_utils_mac.py60 document_root=None, apache2=False):
69 document_root: full path to the DocumentRoot. If None, the DocumentRoot
72 you're using that one, be sure to specify a document_root here.
90 "document_root" : document_root,
118 if document_root:
119 httpd_cmd_string += ' -C \'DocumentRoot "%(document_root)s"\''
/external/chromium_org/build/android/
H A Dlighttpd_server.py32 document_root: Path to root of this server's hosted files.
45 def __init__(self, document_root, port=None,
50 self.document_root = os.path.abspath(document_root)
238 server.document-root = "%(document_root)s"
/external/chromium_org/net/tools/testserver/
H A Drun_testserver.cc114 if (!base::DirectoryExists(test_server->document_root())) {
117 test_server->document_root().LossyDisplayName()).c_str());
/external/chromium_org/net/url_request/
H A Durl_request_context_builder_unittest.cc32 explicit LocalHttpTestServer(const base::FilePath& document_root) argument
35 document_root) {}
H A Durl_request_unittest.cc1983 explicit LocalHttpTestServer(const base::FilePath& document_root) argument
1986 document_root) {}
/external/chromium_org/build/android/pylib/base/
H A Dbase_test_runner.py102 def LaunchTestHttpServer(self, document_root, port=None,
107 document_root: Document root of the HTTP server.
112 document_root, port=port, extra_config_contents=extra_config_contents)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/
H A Dapache_http.py59 document_root = self._filesystem.join(test_dir, "http", "tests")
73 '-C', 'DocumentRoot "%s"' % document_root,
/external/chromium_org/chrome/test/ppapi/
H A Dppapi_test.cc176 base::FilePath document_root; local
177 ASSERT_TRUE(ui_test_utils::GetRelativeBuildDirectory(&document_root));
182 document_root);
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_endtoend.py169 self.document_root = os.path.join(self.top_dir, 'example')
198 '-d', self.document_root]
/external/chromium-trace/trace-viewer/examples/stream_server/
H A Dstandalone.py42 [-d <document_root>]
48 <document_root> is the path to the root directory of HTML files.
52 handlers. If this path is relative, <document_root> is used as the base.
742 parser.add_option('-d', '--document-root', '--document_root',
743 dest='document_root', default='.',
747 help=('CGI paths relative to document_root.'
749 'Files under document_root/cgi_path are handled '
877 os.chdir(options.document_root)
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dstandalone.py42 [-d <document_root>]
48 <document_root> is the path to the root directory of HTML files.
52 handlers. If this path is relative, <document_root> is used as the base.
738 parser.add_option('-d', '--document-root', '--document_root',
739 dest='document_root', default='.',
743 help=('CGI paths relative to document_root.'
745 'Files under document_root/cgi_path are handled '
873 os.chdir(options.document_root)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
H A Dstandalone.py45 [-d <document_root>]
49 <document_root> is the path to the root directory of HTML files.
52 If not specified, <document_root> will be used. See __init__.py (or
928 parser.add_option('-d', '--document-root', '--document_root',
929 dest='document_root', default='.',
933 help=('CGI paths relative to document_root.'
935 'Files under document_root/cgi_path are handled '
1080 os.chdir(options.document_root)

Completed in 377 milliseconds