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

Unified Diff: webkit/fileapi/file_system_quota_util.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_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_quota_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_quota_util.h
diff --git a/webkit/fileapi/file_system_quota_util.h b/webkit/fileapi/file_system_quota_util.h
index 5ba638a031942ad8a7ce517644902951faabeb8d..6063acf9f7de61f3324574e580e698cb7864947e 100644
--- a/webkit/fileapi/file_system_quota_util.h
+++ b/webkit/fileapi/file_system_quota_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,7 +14,7 @@
#include "webkit/fileapi/file_system_types.h"
namespace base {
-class MessageLoopProxy;
+class SequencedTaskRunner;
}
namespace quota {
@@ -46,11 +46,11 @@ class FileSystemQuotaUtil {
friend class FileSystemQuotaUtil;
friend class base::RefCountedThreadSafe<Proxy>;
Proxy(FileSystemQuotaUtil* quota_handler,
- base::MessageLoopProxy* file_thread);
+ base::SequencedTaskRunner* file_task_runner);
~Proxy();
FileSystemQuotaUtil* quota_util_; // Accessed only on the FILE thread.
- scoped_refptr<base::MessageLoopProxy> file_thread_;
+ scoped_refptr<base::SequencedTaskRunner> file_task_runner_;
DISALLOW_COPY_AND_ASSIGN(Proxy);
};
@@ -97,7 +97,7 @@ class FileSystemQuotaUtil {
Proxy* proxy() { return proxy_.get(); }
protected:
- explicit FileSystemQuotaUtil(base::MessageLoopProxy* file_thread);
+ explicit FileSystemQuotaUtil(base::SequencedTaskRunner* file_task_runner);
virtual ~FileSystemQuotaUtil();
private:
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_quota_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698