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

Unified Diff: webkit/fileapi/file_system_quota_client.h

Issue 10197007: Change webkit/{fileapi,quota} code to use TaskRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 8 years, 7 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 | « webkit/fileapi/file_system_operation_context.cc ('k') | webkit/fileapi/file_system_quota_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_quota_client.h
diff --git a/webkit/fileapi/file_system_quota_client.h b/webkit/fileapi/file_system_quota_client.h
index d5d64031af529a9da24ff735675bb1e8eea4479f..cc4cd3753cff662e1409b26e037676fefd6f3672 100644
--- a/webkit/fileapi/file_system_quota_client.h
+++ b/webkit/fileapi/file_system_quota_client.h
@@ -17,6 +17,10 @@
#include "webkit/quota/quota_client.h"
#include "webkit/quota/quota_task.h"
+namespace base {
+class SequencedTaskRunner;
+}
+
namespace fileapi {
class FileSystemContext;
@@ -30,7 +34,6 @@ class FileSystemQuotaClient : public quota::QuotaClient,
public quota::QuotaTaskObserver {
public:
FileSystemQuotaClient(
- scoped_refptr<base::MessageLoopProxy> file_message_loop,
FileSystemContext* file_system_context,
bool is_incognito);
virtual ~FileSystemQuotaClient();
@@ -83,7 +86,8 @@ class FileSystemQuotaClient : public quota::QuotaClient,
void DidGetOriginsForHost(const TypeAndHostOrOrigin& type_and_host,
const std::set<GURL>& origins);
- scoped_refptr<base::MessageLoopProxy> file_message_loop_;
+ base::SequencedTaskRunner* file_task_runner() const;
+
scoped_refptr<FileSystemContext> file_system_context_;
bool is_incognito_;
« no previous file with comments | « webkit/fileapi/file_system_operation_context.cc ('k') | webkit/fileapi/file_system_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698