From 691f420dd0a859196c7dbcd514af42bcc945145c Mon Sep 17 00:00:00 2001 From: Steve Block Date: Tue, 4 Jan 2011 16:44:31 +0000 Subject: Adds an optimization to cache the WebCache backend Also does some general cleaning up. Change-Id: If1b5a338bc6500c34d0c239a75377a2d23dc996d --- WebKit/android/WebCoreSupport/WebCache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'WebKit/android/WebCoreSupport/WebCache.h') diff --git a/WebKit/android/WebCoreSupport/WebCache.h b/WebKit/android/WebCoreSupport/WebCache.h index be6c968..d04a594 100644 --- a/WebKit/android/WebCoreSupport/WebCache.h +++ b/WebKit/android/WebCoreSupport/WebCache.h @@ -49,7 +49,7 @@ private: WebCache(bool isPrivateBrowsing); // For clear() - void doClear(); + void clearImpl(); void doomAllEntries(int); void onClearDone(int); @@ -61,7 +61,7 @@ private: // For clear() net::CompletionCallbackImpl m_doomAllEntriesCallback; - net::CompletionCallbackImpl m_doneCallback; + net::CompletionCallbackImpl m_onClearDoneCallback; disk_cache::Backend* m_cacheBackend; bool m_isClearInProgress; }; -- cgit v1.1