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

Unified Diff: Source/modules/mediastream/MediaStream.h

Issue 13982022: MediaStream API: Removing LocalMediaStream (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/modules/mediastream/LocalMediaStream.idl ('k') | Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStream.h
diff --git a/Source/modules/mediastream/MediaStream.h b/Source/modules/mediastream/MediaStream.h
index c47cfbd83077c685fbbbbeeac5bb73fa76b47517..64020164a2410b96f1ef75f327754d1f36f8e12e 100644
--- a/Source/modules/mediastream/MediaStream.h
+++ b/Source/modules/mediastream/MediaStream.h
@@ -60,6 +60,7 @@ public:
MediaStreamTrackVector getVideoTracks() const { return m_videoTracks; }
bool ended() const;
+ void stop();
DEFINE_ATTRIBUTE_EVENT_LISTENER(ended);
DEFINE_ATTRIBUTE_EVENT_LISTENER(addtrack);
@@ -69,8 +70,6 @@ public:
virtual void trackEnded() OVERRIDE;
virtual void streamEnded() OVERRIDE;
- virtual bool isLocal() const { return false; }
-
MediaStreamDescriptor* descriptor() const { return m_descriptor.get(); }
// EventTarget
« no previous file with comments | « Source/modules/mediastream/LocalMediaStream.idl ('k') | Source/modules/mediastream/MediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698