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

Unified Diff: plugin/npapi_host_control/win/stream_operation.h

Issue 149434: Avoid calling Abort from main thread on IBinding created on another thread. I... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | plugin/npapi_host_control/win/stream_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugin/npapi_host_control/win/stream_operation.h
===================================================================
--- plugin/npapi_host_control/win/stream_operation.h (revision 20337)
+++ plugin/npapi_host_control/win/stream_operation.h (working copy)
@@ -122,10 +122,9 @@
return notify_data_;
}
- // Call to request that the streaming operation terminate early. After this
- // has been called, no further data notifications will take place. The next,
- // and last notification will be through
- // IBindStatusCallback::OnStopBinding(...).
+ // Call to request that the streaming operation terminate early. As soon as
+ // the streaming thread sees the request has been cancelled, it aborts its
+ // binding.
HRESULT RequestCancellation();
BEGIN_COM_MAP(StreamOperation)
« no previous file with comments | « no previous file | plugin/npapi_host_control/win/stream_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698