summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-04 23:11:19 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-04 23:11:19 +0000
commit9b2331d912b0a15c3eef290eaa617c54a87dc68e (patch)
tree6ca5f0248ce754b74b39112c17c2d9726c004e79 /jingle
parent9f1e5d235d5bdb3a0fe626fe47f5468cddaf75e4 (diff)
downloadchromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.zip
chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.tar.gz
chromium_src-9b2331d912b0a15c3eef290eaa617c54a87dc68e.tar.bz2
Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.
Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later. (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles First Review URL: http://codereview.chromium.org/3563004 Review URL: http://codereview.chromium.org/3621003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 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]; }