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

Unified Diff: content/renderer/media/media_stream_center.h

Issue 629953002: Remove obsolete path of getSources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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/content_tests.gypi ('k') | content/renderer/media/media_stream_center.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_center.h
diff --git a/content/renderer/media/media_stream_center.h b/content/renderer/media/media_stream_center.h
index e60ff5b638907af53edf039a6cc1f59c40e015b2..ef4fbaa0db559ed3c94ab1b1107b6f16d796b6bc 100644
--- a/content/renderer/media/media_stream_center.h
+++ b/content/renderer/media/media_stream_center.h
@@ -26,17 +26,13 @@ namespace content {
class PeerConnectionDependencyFactory;
class CONTENT_EXPORT MediaStreamCenter
- : NON_EXPORTED_BASE(public blink::WebMediaStreamCenter),
- public RenderProcessObserver {
+ : NON_EXPORTED_BASE(public blink::WebMediaStreamCenter) {
public:
MediaStreamCenter(blink::WebMediaStreamCenterClient* client,
PeerConnectionDependencyFactory* factory);
virtual ~MediaStreamCenter();
private:
- virtual bool getMediaStreamTrackSources(
- const blink::WebMediaStreamTrackSourcesRequest& request) override;
-
virtual void didCreateMediaStreamTrack(
const blink::WebMediaStreamTrack& track) override;
@@ -68,24 +64,10 @@ class CONTENT_EXPORT MediaStreamCenter
const blink::WebMediaStream& stream,
const blink::WebMediaStreamTrack& track) override;
- // RenderProcessObserver implementation.
- virtual bool OnControlMessageReceived(const IPC::Message& message) override;
-
- void OnGetSourcesComplete(int request_id,
- const content::StreamDeviceInfoArray& devices);
-
// |rtc_factory_| is a weak pointer and is owned by the RenderThreadImpl.
// It is valid as long as RenderThreadImpl exist.
PeerConnectionDependencyFactory* rtc_factory_;
- // A strictly increasing id that's used to label incoming GetSources()
- // requests.
- int next_request_id_;
-
- typedef std::map<int, blink::WebMediaStreamTrackSourcesRequest> RequestMap;
- // Maps request ids to request objects.
- RequestMap requests_;
-
DISALLOW_COPY_AND_ASSIGN(MediaStreamCenter);
};
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/media/media_stream_center.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698