| 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 WEBKIT_BROWSER_APPCACHE_MOCK_APPCACHE_STORAGE_H_ | 5 #ifndef WEBKIT_BROWSER_APPCACHE_MOCK_APPCACHE_STORAGE_H_ |
| 6 #define WEBKIT_BROWSER_APPCACHE_MOCK_APPCACHE_STORAGE_H_ | 6 #define WEBKIT_BROWSER_APPCACHE_MOCK_APPCACHE_STORAGE_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/containers/hash_tables.h" |
| 13 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 14 #include "base/hash_tables.h" | |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "webkit/browser/appcache/appcache.h" | 17 #include "webkit/browser/appcache/appcache.h" |
| 18 #include "webkit/browser/appcache/appcache_disk_cache.h" | 18 #include "webkit/browser/appcache/appcache_disk_cache.h" |
| 19 #include "webkit/browser/appcache/appcache_group.h" | 19 #include "webkit/browser/appcache/appcache_group.h" |
| 20 #include "webkit/browser/appcache/appcache_response.h" | 20 #include "webkit/browser/appcache/appcache_response.h" |
| 21 #include "webkit/browser/appcache/appcache_storage.h" | 21 #include "webkit/browser/appcache/appcache_storage.h" |
| 22 | 22 |
| 23 namespace appcache { | 23 namespace appcache { |
| 24 | 24 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 FRIEND_TEST_ALL_PREFIXES(MockAppCacheStorageTest, | 209 FRIEND_TEST_ALL_PREFIXES(MockAppCacheStorageTest, |
| 210 StoreExistingGroupExistingCache); | 210 StoreExistingGroupExistingCache); |
| 211 FRIEND_TEST_ALL_PREFIXES(AppCacheServiceTest, DeleteAppCachesForOrigin); | 211 FRIEND_TEST_ALL_PREFIXES(AppCacheServiceTest, DeleteAppCachesForOrigin); |
| 212 | 212 |
| 213 DISALLOW_COPY_AND_ASSIGN(MockAppCacheStorage); | 213 DISALLOW_COPY_AND_ASSIGN(MockAppCacheStorage); |
| 214 }; | 214 }; |
| 215 | 215 |
| 216 } // namespace appcache | 216 } // namespace appcache |
| 217 | 217 |
| 218 #endif // WEBKIT_BROWSER_APPCACHE_MOCK_APPCACHE_STORAGE_H_ | 218 #endif // WEBKIT_BROWSER_APPCACHE_MOCK_APPCACHE_STORAGE_H_ |
| OLD | NEW |