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

Unified Diff: content/child/shared_memory_data_consumer_handle.h

Issue 1181573003: Set error on WebDataConsumerHandle while loading body. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-ipc-data-consumer
Patch Set: rebase Created 5 years, 6 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: content/child/shared_memory_data_consumer_handle.h
diff --git a/content/child/shared_memory_data_consumer_handle.h b/content/child/shared_memory_data_consumer_handle.h
index 188d028e2e399f1c4bc4cdf20757c0daf58a4907..86d7ac2bf95481e5ff5715f6affb291760aac456 100644
--- a/content/child/shared_memory_data_consumer_handle.h
+++ b/content/child/shared_memory_data_consumer_handle.h
@@ -31,6 +31,8 @@ class CONTENT_EXPORT SharedMemoryDataConsumerHandle final
~Writer();
void AddData(scoped_ptr<RequestPeer::ReceivedData> data);
void Close();
+ // TODO(yhirano): Consider providing error code.
+ void Error();
private:
scoped_refptr<Context> context_;

Powered by Google App Engine
This is Rietveld 408576698