summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_cache.cc
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-12 10:19:40 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-12 10:19:40 +0000
commita15236494feb1f18676d53d121b0c5499ce92c3d (patch)
tree94fdaa0411cee0648ac62740956ba5711d4a6b0f /net/http/http_auth_cache.cc
parent8eb8c1a5e468df88c503f59bd3034938aeb1136a (diff)
downloadchromium_src-a15236494feb1f18676d53d121b0c5499ce92c3d.zip
chromium_src-a15236494feb1f18676d53d121b0c5499ce92c3d.tar.gz
chromium_src-a15236494feb1f18676d53d121b0c5499ce92c3d.tar.bz2
Uninitialized member vars and inlined constructors.
BUG=None TEST=None CID=3810, 8793, 8794 Review URL: http://codereview.chromium.org/3156003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_cache.cc')
-rw-r--r--net/http/http_auth_cache.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc
index 58a90f1..5b1a275 100644
--- a/net/http/http_auth_cache.cc
+++ b/net/http/http_auth_cache.cc
@@ -134,6 +134,10 @@ HttpAuthCache::Entry* HttpAuthCache::Add(const GURL& origin,
return entry;
}
+HttpAuthCache::Entry::Entry()
+ : nonce_count_(0) {
+}
+
void HttpAuthCache::Entry::AddPath(const std::string& path) {
std::string parent_dir = GetParentDirectory(path);
if (!HasEnclosingPath(parent_dir)) {