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

Unified Diff: content/browser/renderer_host/media/media_stream_provider.h

Issue 248113003: Fix for closing the desktop sharing notification bar when the shared window is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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/browser/renderer_host/media/media_stream_provider.h
diff --git a/content/browser/renderer_host/media/media_stream_provider.h b/content/browser/renderer_host/media/media_stream_provider.h
index f83aa4f1ec281bb6a17bfbe5d4020d4c5aec865c..3413a99bd343c99116ad44c6ebcc1bd8d909bd1d 100644
--- a/content/browser/renderer_host/media/media_stream_provider.h
+++ b/content/browser/renderer_host/media/media_stream_provider.h
@@ -50,6 +50,10 @@ class CONTENT_EXPORT MediaStreamProviderListener {
virtual void DevicesEnumerated(MediaStreamType stream_type,
const StreamDeviceInfoArray& devices) = 0;
+ // Called by a MediaStreamProvider when the device has been aborted due to
+ // device error.
+ virtual void Aborted(MediaStreamType stream_type, int capture_session_id) = 0;
perkj_chrome 2014/04/23 11:30:43 Why not use Closed?
jiayl 2014/04/23 15:43:06 Closed is called when a MediaStreamProvider::Close
mcasas 2014/04/24 11:09:47 See other comments on naming.
jiayl 2014/04/24 18:11:13 Done.
+
protected:
virtual ~MediaStreamProviderListener() {}
};

Powered by Google App Engine
This is Rietveld 408576698