summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 21:23:00 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 21:23:00 +0000
commit763f848ffbd28b22a6c2aa32bf28184d9c17b366 (patch)
treec6e662f3b95f1b52866c840a96d8ce02a75032cd /jingle
parent314feb0bc9a98d6ea9cfb576485bf82dd07ffe84 (diff)
downloadchromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.zip
chromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.tar.gz
chromium_src-763f848ffbd28b22a6c2aa32bf28184d9c17b366.tar.bz2
FBTF: Another big ctor/dtor cleanup found by automated tools.
(Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/notifier/communicator/connection_settings.cc8
-rw-r--r--jingle/notifier/communicator/connection_settings.h6
2 files changed, 12 insertions, 2 deletions
diff --git a/jingle/notifier/communicator/connection_settings.cc b/jingle/notifier/communicator/connection_settings.cc
index a16ce39..1648c4e 100644
--- a/jingle/notifier/communicator/connection_settings.cc
+++ b/jingle/notifier/communicator/connection_settings.cc
@@ -21,6 +21,10 @@ class RandomGenerator {
}
};
+ConnectionSettings::ConnectionSettings() : protocol_(cricket::PROTO_TCP) {}
+
+ConnectionSettings::~ConnectionSettings() {}
+
void ConnectionSettings::FillXmppClientSettings(
buzz::XmppClientSettings* xcs) const {
DCHECK(xcs);
@@ -30,6 +34,10 @@ 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 9f7e4b1..b26f559 100644
--- a/jingle/notifier/communicator/connection_settings.h
+++ b/jingle/notifier/communicator/connection_settings.h
@@ -15,7 +15,8 @@ namespace notifier {
class ConnectionSettings {
public:
- ConnectionSettings() : protocol_(cricket::PROTO_TCP) {}
+ ConnectionSettings();
+ ~ConnectionSettings();
cricket::ProtocolType protocol() { return protocol_; }
const talk_base::SocketAddress& server() const { return server_; }
@@ -33,7 +34,8 @@ class ConnectionSettings {
class ConnectionSettingsList {
public:
- ConnectionSettingsList() {}
+ ConnectionSettingsList();
+ ~ConnectionSettingsList();
int GetCount() { return list_.size(); }
ConnectionSettings* GetSettings(size_t index) { return &list_[index]; }