Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: runtime/bin/socket_fuchsia.cc

Issue 2446343002: Stub out Socket::LookAddress on Fuchsia (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_fuchsia.cc
diff --git a/runtime/bin/socket_fuchsia.cc b/runtime/bin/socket_fuchsia.cc
index b79d1c0956b6d2df588dbe7f453cb35af908a015..b3935eb9091d299c48d7550cae0812ea635bd4e3 100644
--- a/runtime/bin/socket_fuchsia.cc
+++ b/runtime/bin/socket_fuchsia.cc
@@ -115,7 +115,12 @@ intptr_t Socket::GetStdioHandle(intptr_t num) {
AddressList<SocketAddress>* Socket::LookupAddress(const char* host,
int type,
OSError** os_error) {
- UNIMPLEMENTED();
+ // UNIMPLEMENTED
+ ASSERT(*os_error == NULL);
+ *os_error = new OSError(-1,
+ "Socket::LookupAddress not implemented in "
+ "Fuchsia Dart VM runtime",
+ OSError::kGetAddressInfo);
return NULL;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698