Home
last modified time | relevance | path

Searched refs:server_data (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/net/test/spawned_test_server/
Dremote_test_server.cc123 std::string server_data; in Start() local
124 base::JSONWriter::Write(&server_data_dict, &server_data); in Start()
125 if (server_data.empty() || !ParseServerData(server_data)) { in Start()
126 LOG(ERROR) << "Could not parse server_data: " << server_data; in Start()
Dlocal_test_server_posix.cc162 std::string server_data(server_data_len, '\0'); in WaitToStart() local
164 reinterpret_cast<uint8*>(&server_data[0]), in WaitToStart()
171 if (!ParseServerData(server_data)) { in WaitToStart()
172 LOG(ERROR) << "Could not parse server_data: " << server_data; in WaitToStart()
Dlocal_test_server_win.cc214 std::string server_data(server_data_len, '\0'); in WaitToStart() local
216 reinterpret_cast<uint8*>(&server_data[0]))) { in WaitToStart()
222 if (!ParseServerData(server_data)) { in WaitToStart()
223 LOG(ERROR) << "Could not parse server_data: " << server_data; in WaitToStart()
Dbase_test_server.h210 const base::DictionaryValue& server_data() const;
256 bool ParseServerData(const std::string& server_data) WARN_UNUSED_RESULT;
Dspawner_communicator.cc346 base::DictionaryValue* server_data = in StartServer() local
349 if (!server_data->GetString("message", &message) || message != "started") { in StartServer()
354 if (!server_data->GetInteger("port", &int_port) || int_port <= 0 || in StartServer()
Dbase_test_server.cc171 const base::DictionaryValue& BaseTestServer::server_data() const { in server_data() function in net::BaseTestServer
293 bool BaseTestServer::ParseServerData(const std::string& server_data) { in ParseServerData() argument
294 VLOG(1) << "Server data: " << server_data; in ParseServerData()
296 scoped_ptr<base::Value> value(json_reader.ReadToValue(server_data)); in ParseServerData()
/external/chromium_org/net/tools/testserver/
Dtestserver_base.py194 server_data = {
197 self.server = self.create_server(server_data)
198 self._notify_startup_complete(server_data)
201 def create_server(self, server_data): argument
240 def _notify_startup_complete(self, server_data): argument
244 server_data_json = json.dumps(server_data)
Dtestserver.py1921 def create_server(self, server_data): argument
1998 server_data['port'] = server.server_port
2026 server_data['port'] = server.server_port
2033 server_data['port'] = server.server_port
2040 server_data['port'] = server.server_port
2044 server_data['port'] = server.server_port
2067 server_data['port'] = server.socket.getsockname()[1]
2068 print 'FTP server started on port %d...' % server_data['port']
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_testserver.py21 def create_server(self, server_data): argument
29 server_data['port'] = server.server_port
Dtwo_phase_testserver.py94 def create_server(self, server_data): argument
98 server_data['port'] = server.server_port
/external/chromium_org/chrome/browser/chromeos/login/test/
Dhttps_forwarder.py124 def create_server(self, server_data): argument
153 server_data['port'] = server.server_port
/external/chromium_org/sync/tools/testserver/
Dsync_testserver.py634 def create_server(self, server_data): argument
645 server_data['port'] = server.server_port
646 server_data['xmpp_port'] = server.xmpp_port
/external/chromium_org/chrome/browser/policy/test/
Dpolicy_testserver.py1189 def create_server(self, server_data): argument
1198 server_data['port'] = server.server_port
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_test.cc693 if (!sync_server_.server_data().GetInteger("xmpp_port", &xmpp_port)) { in SetUpLocalPythonTestServer()