From 8822f38cd5d5006033003e5197a56bed2cc33fea Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Fri, 30 Jul 2010 21:49:03 +0000 Subject: 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 --- net/http/http_auth_cache.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'net/http/http_auth_cache.h') diff --git a/net/http/http_auth_cache.h b/net/http/http_auth_cache.h index dc82107..423e432 100644 --- a/net/http/http_auth_cache.h +++ b/net/http/http_auth_cache.h @@ -9,11 +9,10 @@ #include #include +#include "base/gtest_prod_util.h" #include "base/ref_counted.h" #include "base/string16.h" #include "googleurl/src/gurl.h" -// This is needed for the FRIEND_TEST() macro. -#include "testing/gtest/include/gtest/gtest_prod.h" namespace net { @@ -131,8 +130,8 @@ class HttpAuthCache::Entry { private: friend class HttpAuthCache; - FRIEND_TEST(HttpAuthCacheTest, AddPath); - FRIEND_TEST(HttpAuthCacheTest, AddToExistingEntry); + FRIEND_TEST_ALL_PREFIXES(HttpAuthCacheTest, AddPath); + FRIEND_TEST_ALL_PREFIXES(HttpAuthCacheTest, AddToExistingEntry); Entry() {} -- cgit v1.1