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

Unified Diff: net/base/file_stream_context.h

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 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 | « net/base/escape.cc ('k') | net/base/file_stream_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_context.h
diff --git a/net/base/file_stream_context.h b/net/base/file_stream_context.h
index 74677fe8fb9edfdb86fd861121d451e6a5000e9f..6d722b12ffd791b8020030e948153a4127ec6342 100644
--- a/net/base/file_stream_context.h
+++ b/net/base/file_stream_context.h
@@ -180,15 +180,15 @@ class FileStream::Context {
// The |buf_len| parameter contains the number of bytes to be read.
// The |overlapped| parameter is a pointer to the OVERLAPPED structure being
// used.
- // The |origin_thread_loop| is a MessageLoopProxy instance used to post tasks
- // back to the originating thread.
+ // The |origin_thread_loop| is a SingleThreadTaskRunner instance used to post
+ // tasks back to the originating thread.
static void ReadAsync(
FileStream::Context* context,
HANDLE file,
scoped_refptr<IOBuffer> buf,
int buf_len,
OVERLAPPED* overlapped,
- scoped_refptr<base::MessageLoopProxy> origin_thread_loop);
+ scoped_refptr<base::SingleThreadTaskRunner> origin_thread_loop);
// This callback executes on the main calling thread. It informs the caller
// about the result of the ReadFile call.
« no previous file with comments | « net/base/escape.cc ('k') | net/base/file_stream_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698