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

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: fixesz Created 8 years, 8 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/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..f79aac9fdf65a89d7f8a882f9db7a707cf895ea0 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,7 @@ class FileSystemQuotaClient : public quota::QuotaClient,
public quota::QuotaTaskObserver {
public:
FileSystemQuotaClient(
- scoped_refptr<base::MessageLoopProxy> file_message_loop,
+ base::SequencedTaskRunner* file_task_runner,
michaeln 2012/04/27 22:31:08 ditto, maybe can be picked up thru the 'context'
kinuko 2012/05/04 19:05:35 Done.
FileSystemContext* file_system_context,
bool is_incognito);
virtual ~FileSystemQuotaClient();
@@ -83,7 +87,7 @@ class FileSystemQuotaClient : public quota::QuotaClient,
void DidGetOriginsForHost(const TypeAndHostOrOrigin& type_and_host,
const std::set<GURL>& origins);
- scoped_refptr<base::MessageLoopProxy> file_message_loop_;
+ scoped_refptr<base::SequencedTaskRunner> file_task_runner_;
scoped_refptr<FileSystemContext> file_system_context_;
bool is_incognito_;

Powered by Google App Engine
This is Rietveld 408576698