Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/sync/glue/
Dextension_data_unittest.cc46 sync_pb::ExtensionSpecifics server_data; in TEST_F() local
47 server_data.set_id(kValidId); in TEST_F()
48 server_data.set_update_url(kValidUpdateUrl2); in TEST_F()
49 server_data.set_version(kValidVersion2); in TEST_F()
50 server_data.set_enabled(true); in TEST_F()
51 extension_data.SetData(ExtensionData::SERVER, false, server_data); in TEST_F()
57 sync_pb::ExtensionSpecifics server_data; in TEST_F() local
58 server_data.set_id(kValidId); in TEST_F()
59 server_data.set_update_url(kValidUpdateUrl2); in TEST_F()
60 server_data.set_version(kValidVersion2); in TEST_F()
[all …]
Dextension_sync.cc151 const sync_pb::ExtensionSpecifics& server_data = in SlurpServerData() local
153 if (!IsExtensionSpecificsValid(server_data)) { in SlurpServerData()
161 if (unsynced_extensions.find(server_data.id()) == in SlurpServerData()
167 extension_data_map, ExtensionData::SERVER, false, server_data); in SlurpServerData()
301 sync_pb::ExtensionSpecifics server_data = in UpdateServerData() local
303 if (IsExtensionSpecificsValid(server_data)) { in UpdateServerData()
307 ExtensionData::FromData(ExtensionData::SERVER, server_data); in UpdateServerData()
/external/chromium/net/test/
Dtest_server_posix.cc149 std::string server_data(server_data_len, '\0'); in WaitToStart() local
151 reinterpret_cast<uint8*>(&server_data[0]), in WaitToStart()
158 if (!ParseServerData(server_data)) { in WaitToStart()
159 LOG(ERROR) << "Could not parse server_data: " << server_data; in WaitToStart()
Dtest_server_win.cc204 std::string server_data(server_data_len, '\0'); in WaitToStart() local
206 reinterpret_cast<uint8*>(&server_data[0]))) { in WaitToStart()
212 if (!ParseServerData(server_data)) { in WaitToStart()
213 LOG(ERROR) << "Could not parse server_data: " << server_data; in WaitToStart()
Dtest_server.cc171 const DictionaryValue& TestServer::server_data() const { in server_data() function in net::TestServer
311 bool TestServer::ParseServerData(const std::string& server_data) { in ParseServerData() argument
312 VLOG(1) << "Server data: " << server_data; in ParseServerData()
314 scoped_ptr<Value> value(json_reader.JsonToValue(server_data, true, false)); in ParseServerData()
Dtest_server.h118 const DictionaryValue& server_data() const;
150 bool ParseServerData(const std::string& server_data) WARN_UNUSED_RESULT;
/external/chromium/net/tools/testserver/
Dtestserver.py1332 server_data = {}
1356 server_data['port'] = server.server_port
1364 server_data['port'] = server.server_port
1365 server_data['xmpp_port'] = server.xmpp_port
1390 server_data['port'] = server.socket.getsockname()[1]
1391 print 'FTP server started on port %d...' % server_data['port']
1396 server_data_json = simplejson.dumps(server_data)