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

Unified Diff: webkit/browser/appcache/appcache_storage_impl.h

Issue 137493003: Appcache::OnCorruptionDetected handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/browser/appcache/appcache_storage_impl.h
diff --git a/webkit/browser/appcache/appcache_storage_impl.h b/webkit/browser/appcache/appcache_storage_impl.h
index 163001d52830336168b9b8a467da00cc3951f75d..46dcce5c8c8e067ec960adac6d8227ad9893848a 100644
--- a/webkit/browser/appcache/appcache_storage_impl.h
+++ b/webkit/browser/appcache/appcache_storage_impl.h
@@ -67,8 +67,6 @@ class AppCacheStorageImpl : public AppCacheStorage {
virtual void PurgeMemory() OVERRIDE;
private:
- friend class AppCacheStorageImplTest;
-
// The AppCacheStorageImpl class methods and datamembers may only be
// accessed on the IO thread. This class manufactures seperate DatabaseTasks
// which access the DB on a seperate background thread.
@@ -114,7 +112,9 @@ class AppCacheStorageImpl : public AppCacheStorage {
void OnDeletedOneResponse(int rv);
void OnDiskCacheInitialized(int rv);
- void CallReinitialize();
+ void DeleteAndStartOver();
+ void DeleteAndStartOverPart2();
+ void CallScheduleReinitialize();
// Sometimes we can respond without having to query the database.
bool FindResponseForMainRequestInGroup(
@@ -172,6 +172,7 @@ class AppCacheStorageImpl : public AppCacheStorage {
std::deque<base::Closure> pending_simple_tasks_;
base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_;
+ friend class AppCacheStorageImplTest;
friend class content::ChromeAppCacheServiceTest;
};
« no previous file with comments | « webkit/browser/appcache/appcache_service_unittest.cc ('k') | webkit/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698