Index: webkit/appcache/appcache_service_unittest.cc |
=================================================================== |
--- webkit/appcache/appcache_service_unittest.cc (revision 26254) |
+++ webkit/appcache/appcache_service_unittest.cc (working copy) |
@@ -7,17 +7,11 @@ |
#include "webkit/appcache/appcache_group.h" |
#include "webkit/appcache/appcache_service.h" |
-using appcache::AppCache; |
-using appcache::AppCacheGroup; |
-using appcache::AppCacheService; |
+namespace appcache { |
-namespace { |
- |
class AppCacheServiceTest : public testing::Test { |
}; |
-} // namespace |
- |
TEST(AppCacheServiceTest, AddRemoveCache) { |
AppCacheService service; |
scoped_refptr<AppCache> cache = new AppCache(&service, 111); |
@@ -31,10 +25,12 @@ |
TEST(AppCacheServiceTest, AddRemoveGroup) { |
AppCacheService service; |
scoped_refptr<AppCacheGroup> group = |
- new AppCacheGroup(&service, GURL::EmptyGURL()); |
+ new AppCacheGroup(&service, GURL::EmptyGURL()); |
service.RemoveGroup(group); |
// Removing non-existing group from service should not fail. |
AppCacheService dummy; |
dummy.RemoveGroup(group); |
} |
+ |
+} // namespace appcache |