Index: chrome/browser/devtools/adb/android_usb_socket.cc |
diff --git a/chrome/browser/devtools/adb/android_usb_socket.cc b/chrome/browser/devtools/adb/android_usb_socket.cc |
index ee9c9df5674dda237ce4fc83fc653d7859715c20..16cc69bee3e15d73f66ca6b7fdb39749a09df988 100644 |
--- a/chrome/browser/devtools/adb/android_usb_socket.cc |
+++ b/chrome/browser/devtools/adb/android_usb_socket.cc |
@@ -137,14 +137,14 @@ int AndroidUsbSocket::Write(net::IOBuffer* buffer, |
return net::ERR_IO_PENDING; |
} |
-bool AndroidUsbSocket::SetReceiveBufferSize(int32 size) { |
+int AndroidUsbSocket::SetReceiveBufferSize(int32 size) { |
NOTIMPLEMENTED(); |
- return false; |
+ return net::ERR_NOT_IMPLEMENTED; |
} |
-bool AndroidUsbSocket::SetSendBufferSize(int32 size) { |
+int AndroidUsbSocket::SetSendBufferSize(int32 size) { |
NOTIMPLEMENTED(); |
- return false; |
+ return net::ERR_NOT_IMPLEMENTED; |
} |
int AndroidUsbSocket::Connect(const net::CompletionCallback& callback) { |
@@ -180,7 +180,7 @@ int AndroidUsbSocket::GetPeerAddress(net::IPEndPoint* address) const { |
int AndroidUsbSocket::GetLocalAddress(net::IPEndPoint* address) const { |
NOTIMPLEMENTED(); |
- return net::ERR_FAILED; |
+ return net::ERR_NOT_IMPLEMENTED; |
} |
const net::BoundNetLog& AndroidUsbSocket::NetLog() const { |