diff options
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/notifier/communicator/connection_settings.cc | 8 | ||||
-rw-r--r-- | jingle/notifier/communicator/connection_settings.h | 6 |
2 files changed, 2 insertions, 12 deletions
diff --git a/jingle/notifier/communicator/connection_settings.cc b/jingle/notifier/communicator/connection_settings.cc index 1648c4e..a16ce39 100644 --- a/jingle/notifier/communicator/connection_settings.cc +++ b/jingle/notifier/communicator/connection_settings.cc @@ -21,10 +21,6 @@ class RandomGenerator { } }; -ConnectionSettings::ConnectionSettings() : protocol_(cricket::PROTO_TCP) {} - -ConnectionSettings::~ConnectionSettings() {} - void ConnectionSettings::FillXmppClientSettings( buzz::XmppClientSettings* xcs) const { DCHECK(xcs); @@ -34,10 +30,6 @@ void ConnectionSettings::FillXmppClientSettings( xcs->set_use_proxy_auth(false); } -ConnectionSettingsList::ConnectionSettingsList() {} - -ConnectionSettingsList::~ConnectionSettingsList() {} - void ConnectionSettingsList::AddPermutations(const std::string& hostname, const std::vector<uint32>& iplist, int16 port, diff --git a/jingle/notifier/communicator/connection_settings.h b/jingle/notifier/communicator/connection_settings.h index b26f559..9f7e4b1 100644 --- a/jingle/notifier/communicator/connection_settings.h +++ b/jingle/notifier/communicator/connection_settings.h @@ -15,8 +15,7 @@ namespace notifier { class ConnectionSettings { public: - ConnectionSettings(); - ~ConnectionSettings(); + ConnectionSettings() : protocol_(cricket::PROTO_TCP) {} cricket::ProtocolType protocol() { return protocol_; } const talk_base::SocketAddress& server() const { return server_; } @@ -34,8 +33,7 @@ class ConnectionSettings { class ConnectionSettingsList { public: - ConnectionSettingsList(); - ~ConnectionSettingsList(); + ConnectionSettingsList() {} int GetCount() { return list_.size(); } ConnectionSettings* GetSettings(size_t index) { return &list_[index]; } |