Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: webkit/appcache/mock_appcache_storage.h

Issue 7210006: AppCaches which belong to hosted apps are not protected from deletion (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Clearing appcaches & waiting in Shutdown(). Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/appcache/mock_appcache_storage.h
diff --git a/webkit/appcache/mock_appcache_storage.h b/webkit/appcache/mock_appcache_storage.h
index 66ed4a7da6c88fef38451b85cc05b9e68d4b1e5e..827bad6217fa9252f693c5a33125795b8a7290e3 100644
--- a/webkit/appcache/mock_appcache_storage.h
+++ b/webkit/appcache/mock_appcache_storage.h
@@ -18,6 +18,11 @@
#include "webkit/appcache/appcache_group.h"
#include "webkit/appcache/appcache_storage.h"
+namespace browsing_data_remover_test {
+void AddGroupAndCache(ChromeAppCacheService* appcache_service,
+ const GURL& manifest_url);
+}
+
namespace appcache {
// For use in unit tests.
@@ -185,6 +190,8 @@ class MockAppCacheStorage : public AppCacheStorage {
FRIEND_TEST_ALL_PREFIXES(MockAppCacheStorageTest,
StoreExistingGroupExistingCache);
FRIEND_TEST_ALL_PREFIXES(AppCacheServiceTest, DeleteAppCachesForOrigin);
+ friend void browsing_data_remover_test::AddGroupAndCache(
+ ChromeAppCacheService* appcache_service, const GURL& manifest_url);
DISALLOW_COPY_AND_ASSIGN(MockAppCacheStorage);
};

Powered by Google App Engine
This is Rietveld 408576698