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

Unified Diff: webkit/blob/shareable_file_reference.h

Issue 10825069: Change ShareableFileReference to take TaskRunner instead of MessageLoopProxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | webkit/blob/shareable_file_reference.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/shareable_file_reference.h
diff --git a/webkit/blob/shareable_file_reference.h b/webkit/blob/shareable_file_reference.h
index c015ba3ea69572c4b1d6eca70784c4210219980c..d96f22fb27ee7d3b4a240d190c97121135715292 100644
--- a/webkit/blob/shareable_file_reference.h
+++ b/webkit/blob/shareable_file_reference.h
@@ -13,7 +13,7 @@
#include "webkit/blob/blob_export.h"
namespace base {
-class MessageLoopProxy;
+class TaskRunner;
}
namespace webkit_blob {
@@ -42,7 +42,7 @@ class BLOB_EXPORT ShareableFileReference
static scoped_refptr<ShareableFileReference> GetOrCreate(
const FilePath& path,
FinalReleasePolicy policy,
- base::MessageLoopProxy* file_thread);
+ base::TaskRunner* file_task_runner);
// The full file path.
const FilePath& path() const { return path_; }
@@ -60,12 +60,12 @@ class BLOB_EXPORT ShareableFileReference
ShareableFileReference(
const FilePath& path,
FinalReleasePolicy policy,
- base::MessageLoopProxy* file_thread);
+ base::TaskRunner* file_task_runner);
~ShareableFileReference();
const FilePath path_;
const FinalReleasePolicy final_release_policy_;
- const scoped_refptr<base::MessageLoopProxy> file_thread_;
+ const scoped_refptr<base::TaskRunner> file_task_runner_;
std::vector<FinalReleaseCallback> final_release_callbacks_;
DISALLOW_COPY_AND_ASSIGN(ShareableFileReference);
« no previous file with comments | « no previous file | webkit/blob/shareable_file_reference.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698