| Index: chrome/browser/extensions/api/socket/socket_api.cc
|
| diff --git a/chrome/browser/extensions/api/socket/socket_api.cc b/chrome/browser/extensions/api/socket/socket_api.cc
|
| index 979f42c8f2a118426b13a19732782acfc57509d4..a95686ad176ef6c11732dc0a523a1b453ed36d8a 100644
|
| --- a/chrome/browser/extensions/api/socket/socket_api.cc
|
| +++ b/chrome/browser/extensions/api/socket/socket_api.cc
|
| @@ -24,9 +24,12 @@ const char kUDPOption[] = "udp";
|
| const char kSocketNotFoundError[] = "Socket not found";
|
|
|
| SocketCreateFunction::SocketCreateFunction()
|
| - : src_id_(-1), event_notifier_(NULL) {
|
| + : src_id_(-1),
|
| + event_notifier_(NULL) {
|
| }
|
|
|
| +SocketCreateFunction::~SocketCreateFunction() {}
|
| +
|
| bool SocketCreateFunction::Prepare() {
|
| std::string socket_type_string;
|
| size_t argument_position = 0;
|
| @@ -162,8 +165,7 @@ SocketWriteFunction::SocketWriteFunction()
|
| io_buffer_(NULL) {
|
| }
|
|
|
| -SocketWriteFunction::~SocketWriteFunction() {
|
| -}
|
| +SocketWriteFunction::~SocketWriteFunction() {}
|
|
|
| bool SocketWriteFunction::Prepare() {
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &socket_id_));
|
|
|