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

Unified Diff: storage/browser/blob/blob_url_request_job_factory.h

Issue 1120553002: [storage] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Nits Created 5 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
« no previous file with comments | « storage/browser/blob/blob_url_request_job.cc ('k') | storage/browser/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/blob_url_request_job_factory.h
diff --git a/storage/browser/blob/blob_url_request_job_factory.h b/storage/browser/blob/blob_url_request_job_factory.h
index 381a95fce895bd99e2cc015475dbf5ddee4b1df3..7f7a5506447ad7eb617d9aaa5c11fef9c9a37a1d 100644
--- a/storage/browser/blob/blob_url_request_job_factory.h
+++ b/storage/browser/blob/blob_url_request_job_factory.h
@@ -13,7 +13,7 @@
#include "storage/browser/storage_browser_export.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
} // namespace base
namespace storage {
@@ -48,7 +48,7 @@ class STORAGE_EXPORT BlobProtocolHandler
BlobProtocolHandler(
BlobStorageContext* context,
storage::FileSystemContext* file_system_context,
- const scoped_refptr<base::MessageLoopProxy>& file_loop_proxy);
+ const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner);
~BlobProtocolHandler() override;
net::URLRequestJob* MaybeCreateJob(
@@ -60,7 +60,7 @@ class STORAGE_EXPORT BlobProtocolHandler
base::WeakPtr<BlobStorageContext> context_;
const scoped_refptr<storage::FileSystemContext> file_system_context_;
- const scoped_refptr<base::MessageLoopProxy> file_loop_proxy_;
+ const scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
DISALLOW_COPY_AND_ASSIGN(BlobProtocolHandler);
};
« no previous file with comments | « storage/browser/blob/blob_url_request_job.cc ('k') | storage/browser/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698