diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 18:53:47 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 18:53:47 +0000 |
commit | cdd7a4016cc4e6d1aedbfd0eece9bfd1213324ec (patch) | |
tree | fcb840ddbb8435f365249d431cc6618d30ba6bad /net | |
parent | cb095d4a7e142c3783b9e4f3295931d7852d37a4 (diff) | |
download | chromium_src-cdd7a4016cc4e6d1aedbfd0eece9bfd1213324ec.zip chromium_src-cdd7a4016cc4e6d1aedbfd0eece9bfd1213324ec.tar.gz chromium_src-cdd7a4016cc4e6d1aedbfd0eece9bfd1213324ec.tar.bz2 |
Style-fix: make a parameter a const reference.
Review URL: http://codereview.chromium.org/2873007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/host_cache.cc | 2 | ||||
-rw-r--r-- | net/base/host_cache.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/base/host_cache.cc b/net/base/host_cache.cc index 8debede..28173d2 100644 --- a/net/base/host_cache.cc +++ b/net/base/host_cache.cc @@ -52,7 +52,7 @@ const HostCache::Entry* HostCache::Lookup(const Key& key, HostCache::Entry* HostCache::Set(const Key& key, int error, - const AddressList addrlist, + const AddressList& addrlist, base::TimeTicks now) { DCHECK(CalledOnValidThread()); if (caching_is_disabled()) diff --git a/net/base/host_cache.h b/net/base/host_cache.h index 59e4315..1b40318 100644 --- a/net/base/host_cache.h +++ b/net/base/host_cache.h @@ -90,7 +90,7 @@ class HostCache : public NonThreadSafe { // timestamp. Entry* Set(const Key& key, int error, - const AddressList addrlist, + const AddressList& addrlist, base::TimeTicks now); // Empties the cache |