summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 23:46:02 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 23:46:02 +0000
commit2858bbf9099f835325422009c5945e9b26a97d42 (patch)
tree4751ec07dc414566f15d9995386b73805facfca0 /net
parente22ddddb19c659dce909396cb2320979cbedc5d2 (diff)
downloadchromium_src-2858bbf9099f835325422009c5945e9b26a97d42.zip
chromium_src-2858bbf9099f835325422009c5945e9b26a97d42.tar.gz
chromium_src-2858bbf9099f835325422009c5945e9b26a97d42.tar.bz2
FBTF: Continue fixing nits found by my automated source scanner.
(~1.3 megs off Debug linux .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3556013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/dnsrr_resolver.cc2
-rw-r--r--net/base/dnsrr_resolver.h1
-rw-r--r--net/http/http_auth.cc2
-rw-r--r--net/http/http_auth.h2
4 files changed, 6 insertions, 1 deletions
diff --git a/net/base/dnsrr_resolver.cc b/net/base/dnsrr_resolver.cc
index 0eac805..cd63bc6 100644
--- a/net/base/dnsrr_resolver.cc
+++ b/net/base/dnsrr_resolver.cc
@@ -92,6 +92,8 @@ RRResponse::RRResponse()
: ttl(0), dnssec(false), negative(false) {
}
+RRResponse::~RRResponse() {}
+
class RRResolverHandle {
public:
RRResolverHandle(CompletionCallback* callback, RRResponse* response)
diff --git a/net/base/dnsrr_resolver.h b/net/base/dnsrr_resolver.h
index b82b298..64a1be5 100644
--- a/net/base/dnsrr_resolver.h
+++ b/net/base/dnsrr_resolver.h
@@ -26,6 +26,7 @@ namespace net {
// RRResponse contains the result of a successful request for a resource record.
struct RRResponse {
RRResponse();
+ ~RRResponse();
// name contains the canonical name of the resulting domain. If the queried
// name was a CNAME then this can differ.
diff --git a/net/http/http_auth.cc b/net/http/http_auth.cc
index fe7005a..a415185 100644
--- a/net/http/http_auth.cc
+++ b/net/http/http_auth.cc
@@ -18,6 +18,8 @@
namespace net {
+HttpAuth::Identity::Identity() : source(IDENT_SRC_NONE), invalid(true) {}
+
// static
void HttpAuth::ChooseBestChallenge(
HttpAuthHandlerFactory* http_auth_handler_factory,
diff --git a/net/http/http_auth.h b/net/http/http_auth.h
index a996304..ff1682b 100644
--- a/net/http/http_auth.h
+++ b/net/http/http_auth.h
@@ -83,7 +83,7 @@ class HttpAuth {
// Helper structure used by HttpNetworkTransaction to track
// the current identity being used for authorization.
struct Identity {
- Identity() : source(IDENT_SRC_NONE), invalid(true) { }
+ Identity();
IdentitySource source;
bool invalid;