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

Unified Diff: chrome/browser/extensions/api/socket/socket_api.cc

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementations Created 8 years, 8 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
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_));

Powered by Google App Engine
This is Rietveld 408576698