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

Unified Diff: content/public/child/request_peer.h

Issue 1144033002: Make SharedMemoryDataConsumerHandle thread-safe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc-data-consumer
Patch Set: rebase Created 5 years, 7 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 | « content/public/child/fixed_received_data.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/request_peer.h
diff --git a/content/public/child/request_peer.h b/content/public/child/request_peer.h
index 2322792ef30d16618b3a1afa95526b543095e405..a6149b74ba4f476eb472692581ca0045c040c645 100644
--- a/content/public/child/request_peer.h
+++ b/content/public/child/request_peer.h
@@ -52,6 +52,9 @@ class CONTENT_EXPORT RequestPeer {
virtual int encoded_length() const = 0;
};
+ // A ThreadSafeReceivedData can be deleted on ANY thread.
+ class CONTENT_EXPORT ThreadSafeReceivedData : public ReceivedData {};
+
// Called as upload progress is made.
// note: only for requests with upload progress enabled.
virtual void OnUploadProgress(uint64 position, uint64 size) = 0;
« no previous file with comments | « content/public/child/fixed_received_data.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698