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

Side by Side Diff: Source/platform/mediastream/MediaStreamCenter.h

Issue 631813002: Remove obsolete path of getSources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/platform/mediastream/MediaStreamCenter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. All rights reserved. 2 * Copyright 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class WebMediaStream; 43 class WebMediaStream;
44 class WebMediaStreamCenter; 44 class WebMediaStreamCenter;
45 class WebMediaStreamTrack; 45 class WebMediaStreamTrack;
46 } 46 }
47 47
48 namespace blink { 48 namespace blink {
49 49
50 class AudioSourceProvider; 50 class AudioSourceProvider;
51 class MediaStreamComponent; 51 class MediaStreamComponent;
52 class MediaStreamDescriptor; 52 class MediaStreamDescriptor;
53 class MediaStreamTrackSourcesRequest;
54 53
55 class PLATFORM_EXPORT MediaStreamCenter final : public blink::WebMediaStreamCent erClient { 54 class PLATFORM_EXPORT MediaStreamCenter final : public blink::WebMediaStreamCent erClient {
56 WTF_MAKE_NONCOPYABLE(MediaStreamCenter); 55 WTF_MAKE_NONCOPYABLE(MediaStreamCenter);
57 public: 56 public:
58 virtual ~MediaStreamCenter(); 57 virtual ~MediaStreamCenter();
59 58
60 static MediaStreamCenter& instance(); 59 static MediaStreamCenter& instance();
61 60
62 bool getMediaStreamTrackSources(MediaStreamTrackSourcesRequest*);
63
64 void didCreateMediaStreamTrack(MediaStreamComponent*); 61 void didCreateMediaStreamTrack(MediaStreamComponent*);
65 void didSetMediaStreamTrackEnabled(MediaStreamComponent*); 62 void didSetMediaStreamTrackEnabled(MediaStreamComponent*);
66 bool didStopMediaStreamTrack(MediaStreamComponent*); 63 bool didStopMediaStreamTrack(MediaStreamComponent*);
67 PassOwnPtr<AudioSourceProvider> createWebAudioSourceFromMediaStreamTrack(Med iaStreamComponent*); 64 PassOwnPtr<AudioSourceProvider> createWebAudioSourceFromMediaStreamTrack(Med iaStreamComponent*);
68 65
69 void didCreateMediaStream(MediaStreamDescriptor*); 66 void didCreateMediaStream(MediaStreamDescriptor*);
70 void didCreateMediaStreamAndTracks(MediaStreamDescriptor*); 67 void didCreateMediaStreamAndTracks(MediaStreamDescriptor*);
71 bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent*); 68 bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent*);
72 bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent* ); 69 bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent* );
73 void didStopLocalMediaStream(MediaStreamDescriptor*); 70 void didStopLocalMediaStream(MediaStreamDescriptor*);
74 71
75 // blink::WebMediaStreamCenterClient 72 // blink::WebMediaStreamCenterClient
76 virtual void stopLocalMediaStream(const blink::WebMediaStream&) override; 73 virtual void stopLocalMediaStream(const blink::WebMediaStream&) override;
77 74
78 private: 75 private:
79 MediaStreamCenter(); 76 MediaStreamCenter();
80 77
81 OwnPtr<blink::WebMediaStreamCenter> m_private; 78 OwnPtr<blink::WebMediaStreamCenter> m_private;
82 }; 79 };
83 80
84 } // namespace blink 81 } // namespace blink
85 82
86 #endif // MediaStreamCenter_h 83 #endif // MediaStreamCenter_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/mediastream/MediaStreamCenter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698