summaryrefslogtreecommitdiffstats
path: root/net/base/host_cache.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 21:49:03 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 21:49:03 +0000
commit8822f38cd5d5006033003e5197a56bed2cc33fea (patch)
tree2d239e6b8b1557b1e90c5747b63c56238b2fb846 /net/base/host_cache.h
parentc9b9f10acf2d9e8290739b10bfaf18da4ea9656c (diff)
downloadchromium_src-8822f38cd5d5006033003e5197a56bed2cc33fea.zip
chromium_src-8822f38cd5d5006033003e5197a56bed2cc33fea.tar.gz
chromium_src-8822f38cd5d5006033003e5197a56bed2cc33fea.tar.bz2
More FRIEND_TEST_ALL_PREFIXES.
TEST=none BUG=44549 Review URL: http://codereview.chromium.org/3053024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_cache.h')
-rw-r--r--net/base/host_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/base/host_cache.h b/net/base/host_cache.h
index 81e4cd7..aedc499 100644
--- a/net/base/host_cache.h
+++ b/net/base/host_cache.h
@@ -9,12 +9,12 @@
#include <map>
#include <string>
+#include "base/gtest_prod_util.h"
#include "base/non_thread_safe.h"
#include "base/ref_counted.h"
#include "base/time.h"
#include "net/base/address_family.h"
#include "net/base/address_list.h"
-#include "testing/gtest/include/gtest/gtest_prod.h"
namespace net {
@@ -111,8 +111,8 @@ class HostCache : public NonThreadSafe {
const EntryMap& entries() const;
private:
- FRIEND_TEST(HostCacheTest, Compact);
- FRIEND_TEST(HostCacheTest, NoCache);
+ FRIEND_TEST_ALL_PREFIXES(HostCacheTest, Compact);
+ FRIEND_TEST_ALL_PREFIXES(HostCacheTest, NoCache);
// Returns true if this cache entry's result is valid at time |now|.
static bool CanUseEntry(const Entry* entry, const base::TimeTicks now);