Index: chrome/browser/extensions/api/socket/socket.cc |
diff --git a/chrome/browser/extensions/api/socket/socket.cc b/chrome/browser/extensions/api/socket/socket.cc |
index 3d297217896471e1bcdcdc04a870891dc1532d70..78eaf64546fc5e7025ef165261ff1ee5e2401bee 100644 |
--- a/chrome/browser/extensions/api/socket/socket.cc |
+++ b/chrome/browser/extensions/api/socket/socket.cc |
@@ -87,6 +87,15 @@ bool Socket::SetNoDelay(bool no_delay) { |
return false; |
} |
+int Socket::Listen(const std::string& address, int port, int backlog, |
+ std::string* error_msg) { |
+ return net::ERR_FAILED; |
miket_OOO
2012/09/26 21:02:44
Good stuff, thanks. This looks much better.
Next
justinlin
2012/09/26 23:03:57
Done. Added the error message. I think write() was
|
+} |
+ |
+void Socket::Accept(const AcceptCompletionCallback& callback) { |
+ callback.Run(net::ERR_FAILED, NULL); |
+} |
+ |
// static |
bool Socket::StringAndPortToIPEndPoint(const std::string& ip_address_str, |
int port, |