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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h

Issue 2177243002: Use per-frame TaskRunner instead of thread's default in DataConsumerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_consumer_handle_unique_ptr
Patch Set: update Created 4 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
Index: third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h
diff --git a/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h
index 547c06e4c1070e0f239e5075a32733b8f1322734..2ad56541c829f7aa4b63ee4985fd3e6c2cc16600 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h
+++ b/third_party/WebKit/Source/modules/fetch/FetchDataConsumerHandle.h
@@ -63,8 +63,8 @@ public:
virtual PassRefPtr<EncodedFormData> drainAsFormData() { return nullptr; }
};
- std::unique_ptr<WebDataConsumerHandle::Reader> obtainReader(Client*) final;
- virtual std::unique_ptr<Reader> obtainFetchDataReader(Client*) = 0;
+ std::unique_ptr<WebDataConsumerHandle::Reader> obtainReader(Client*, std::unique_ptr<WebTaskRunner>) final;
+ virtual std::unique_ptr<Reader> obtainFetchDataReader(Client*, std::unique_ptr<WebTaskRunner>) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698