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

Unified Diff: content/worker/worker_webkitplatformsupport_impl.h

Issue 20015002: Make Platform::queryStorageUsageAndQuota work from worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 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
« no previous file with comments | « content/worker/worker_thread.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/worker_webkitplatformsupport_impl.h
diff --git a/content/worker/worker_webkitplatformsupport_impl.h b/content/worker/worker_webkitplatformsupport_impl.h
index b923ba39e0e466a3d1f4fc9a96a6d12c64034a3d..943fe9f0bf9fa9adda3f4d64b5806618e3137ff1 100644
--- a/content/worker/worker_webkitplatformsupport_impl.h
+++ b/content/worker/worker_webkitplatformsupport_impl.h
@@ -23,6 +23,7 @@ class WebFileUtilities;
}
namespace content {
+class QuotaMessageFilter;
class ThreadSafeSender;
class WebFileSystemImpl;
@@ -31,7 +32,8 @@ class WorkerWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl,
public:
WorkerWebKitPlatformSupportImpl(
ThreadSafeSender* sender,
- IPC::SyncMessageFilter* sync_message_filter);
+ IPC::SyncMessageFilter* sync_message_filter,
+ QuotaMessageFilter* quota_message_filter);
virtual ~WorkerWebKitPlatformSupportImpl();
// WebKitPlatformSupport methods:
@@ -114,6 +116,7 @@ class WorkerWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl,
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
scoped_refptr<base::MessageLoopProxy> child_thread_loop_;
scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
+ scoped_refptr<QuotaMessageFilter> quota_message_filter_;
};
} // namespace content
« no previous file with comments | « content/worker/worker_thread.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698