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

Unified Diff: webkit/appcache/appcache_quota_client.h

Issue 9456036: Work around CancelableCompletionCallback threading restrictions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | webkit/appcache/appcache_quota_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_quota_client.h
===================================================================
--- webkit/appcache/appcache_quota_client.h (revision 123798)
+++ webkit/appcache/appcache_quota_client.h (working copy)
@@ -65,6 +65,7 @@
void ProcessPendingRequests();
void DeletePendingRequests();
const AppCacheStorage::UsageMap* GetUsageMap();
+ net::CancelableCompletionCallback* GetServiceDeleteCallback();
// For use by appcache internals during initialization and shutdown.
APPCACHE_EXPORT void NotifyAppCacheReady();
@@ -78,7 +79,7 @@
// And once it's ready, we can only handle one delete request at a time,
// so we queue up additional requests while one is in already in progress.
DeletionCallback current_delete_request_callback_;
- net::CancelableCompletionCallback service_delete_callback_;
+ scoped_ptr<net::CancelableCompletionCallback> service_delete_callback_;
AppCacheService* service_;
bool appcache_is_ready_;
« no previous file with comments | « no previous file | webkit/appcache/appcache_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698