diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 19:59:58 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 19:59:58 +0000 |
commit | 2f2cef3c9ca1308f6011aece98ad7200d182c274 (patch) | |
tree | b25c887864c098f6d760f836c3beac57dfb20cb7 /webkit/appcache/appcache_host.h | |
parent | 62fe65807ecd824b2c49671eaadd819b6e7e7463 (diff) | |
download | chromium_src-2f2cef3c9ca1308f6011aece98ad7200d182c274.zip chromium_src-2f2cef3c9ca1308f6011aece98ad7200d182c274.tar.gz chromium_src-2f2cef3c9ca1308f6011aece98ad7200d182c274.tar.bz2 |
Even more FRIEND_TEST_ALL_PREFIXES, now like in webkit
TEST=none
BUG=44549
Review URL: http://codereview.chromium.org/3078014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_host.h')
-rw-r--r-- | webkit/appcache/appcache_host.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/webkit/appcache/appcache_host.h b/webkit/appcache/appcache_host.h index ff87b5f..d78ffe7 100644 --- a/webkit/appcache/appcache_host.h +++ b/webkit/appcache/appcache_host.h @@ -6,10 +6,10 @@ #define WEBKIT_APPCACHE_APPCACHE_HOST_H_ #include "base/callback.h" +#include "base/gtest_prod_util.h" #include "base/observer_list.h" #include "base/ref_counted.h" #include "googleurl/src/gurl.h" -#include "testing/gtest/include/gtest/gtest_prod.h" #include "webkit/appcache/appcache_group.h" #include "webkit/appcache/appcache_interfaces.h" #include "webkit/appcache/appcache_service.h" @@ -208,16 +208,17 @@ class AppCacheHost : public AppCacheStorage::Delegate, friend class AppCacheRequestHandlerTest; friend class AppCacheUpdateJobTest; - FRIEND_TEST(AppCacheTest, CleanupUnusedCache); - FRIEND_TEST(AppCacheGroupTest, CleanupUnusedGroup); - FRIEND_TEST(AppCacheHostTest, Basic); - FRIEND_TEST(AppCacheHostTest, SelectNoCache); - FRIEND_TEST(AppCacheHostTest, ForeignEntry); - FRIEND_TEST(AppCacheHostTest, FailedCacheLoad); - FRIEND_TEST(AppCacheHostTest, FailedGroupLoad); - FRIEND_TEST(AppCacheHostTest, SetSwappableCache); - FRIEND_TEST(AppCacheHostTest, ForDedicatedWorker); - FRIEND_TEST(AppCacheGroupTest, QueueUpdate); + FRIEND_TEST_ALL_PREFIXES(AppCacheTest, CleanupUnusedCache); + FRIEND_TEST_ALL_PREFIXES(AppCacheGroupTest, CleanupUnusedGroup); + FRIEND_TEST_ALL_PREFIXES(AppCacheHostTest, Basic); + FRIEND_TEST_ALL_PREFIXES(AppCacheHostTest, SelectNoCache); + FRIEND_TEST_ALL_PREFIXES(AppCacheHostTest, ForeignEntry); + FRIEND_TEST_ALL_PREFIXES(AppCacheHostTest, FailedCacheLoad); + FRIEND_TEST_ALL_PREFIXES(AppCacheHostTest, FailedGroupLoad); + FRIEND_TEST_ALL_PREFIXES(AppCacheHostTest, SetSwappableCache); + FRIEND_TEST_ALL_PREFIXES(AppCacheHostTest, ForDedicatedWorker); + FRIEND_TEST_ALL_PREFIXES(AppCacheGroupTest, QueueUpdate); + DISALLOW_COPY_AND_ASSIGN(AppCacheHost); }; |