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

Unified Diff: android_webview/browser/input_stream.h

Issue 11428052: [android_webview] Fix use after free in intercepted requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 | « no previous file | android_webview/browser/net/android_stream_reader_url_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/input_stream.h
diff --git a/android_webview/browser/input_stream.h b/android_webview/browser/input_stream.h
index c0a3ab205af7d43e919e116362e09439da1641e8..8ef476581f517f6b0521de93826b216eda8b9596 100644
--- a/android_webview/browser/input_stream.h
+++ b/android_webview/browser/input_stream.h
@@ -14,6 +14,9 @@ class IOBuffer;
namespace android_webview {
// Abstract wrapper used to access the InputStream Java class.
+// This class is safe to pass around between threads (the destructor,
+// constructor and methods can be called on different threads) but calling
+// methods concurrently might have undefined results.
class InputStream {
public:
virtual ~InputStream() {}
« no previous file with comments | « no previous file | android_webview/browser/net/android_stream_reader_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698