| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_ | 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_ |
| 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_ | 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "content/browser/appcache/appcache_group.h" | 12 #include "content/browser/appcache/appcache_group.h" |
| 13 #include "content/browser/appcache/appcache_service_impl.h" | 13 #include "content/browser/appcache/appcache_service_impl.h" |
| 14 #include "content/browser/appcache/appcache_storage.h" | 14 #include "content/browser/appcache/appcache_storage.h" |
| 15 #include "content/common/appcache_interfaces.h" | 15 #include "content/common/appcache_interfaces.h" |
| 16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 17 #include "content/public/common/resource_type.h" |
| 17 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 18 #include "webkit/common/resource_type.h" | |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 class URLRequest; | 21 class URLRequest; |
| 22 } // namespace net | 22 } // namespace net |
| 23 | 23 |
| 24 namespace content { | 24 namespace content { |
| 25 FORWARD_DECLARE_TEST(AppCacheGroupTest, CleanupUnusedGroup); | 25 FORWARD_DECLARE_TEST(AppCacheGroupTest, CleanupUnusedGroup); |
| 26 FORWARD_DECLARE_TEST(AppCacheGroupTest, QueueUpdate); | 26 FORWARD_DECLARE_TEST(AppCacheGroupTest, QueueUpdate); |
| 27 FORWARD_DECLARE_TEST(AppCacheHostTest, Basic); | 27 FORWARD_DECLARE_TEST(AppCacheHostTest, Basic); |
| 28 FORWARD_DECLARE_TEST(AppCacheHostTest, SelectNoCache); | 28 FORWARD_DECLARE_TEST(AppCacheHostTest, SelectNoCache); |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 FRIEND_TEST_ALL_PREFIXES(content::AppCacheHostTest, SelectCacheAllowed); | 325 FRIEND_TEST_ALL_PREFIXES(content::AppCacheHostTest, SelectCacheAllowed); |
| 326 FRIEND_TEST_ALL_PREFIXES(content::AppCacheHostTest, SelectCacheBlocked); | 326 FRIEND_TEST_ALL_PREFIXES(content::AppCacheHostTest, SelectCacheBlocked); |
| 327 FRIEND_TEST_ALL_PREFIXES(content::AppCacheTest, CleanupUnusedCache); | 327 FRIEND_TEST_ALL_PREFIXES(content::AppCacheTest, CleanupUnusedCache); |
| 328 | 328 |
| 329 DISALLOW_COPY_AND_ASSIGN(AppCacheHost); | 329 DISALLOW_COPY_AND_ASSIGN(AppCacheHost); |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 } // namespace content | 332 } // namespace content |
| 333 | 333 |
| 334 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_ | 334 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_ |
| OLD | NEW |