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

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

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/mac/ThemeMac.h ('k') | Source/platform/mediastream/MediaStreamComponent.h » ('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 AudioSourceProvider; 43 class AudioSourceProvider;
44 class MediaStreamComponent; 44 class MediaStreamComponent;
45 class MediaStreamDescriptor; 45 class MediaStreamDescriptor;
46 class WebMediaStream; 46 class WebMediaStream;
47 class WebMediaStreamCenter; 47 class WebMediaStreamCenter;
48 class WebMediaStreamTrack; 48 class WebMediaStreamTrack;
49 49
50 class PLATFORM_EXPORT MediaStreamCenter final : public WebMediaStreamCenterClien t { 50 class PLATFORM_EXPORT MediaStreamCenter final : public WebMediaStreamCenterClien t {
51 WTF_MAKE_NONCOPYABLE(MediaStreamCenter); 51 WTF_MAKE_NONCOPYABLE(MediaStreamCenter);
52 public: 52 public:
53 virtual ~MediaStreamCenter(); 53 ~MediaStreamCenter() override;
54 54
55 static MediaStreamCenter& instance(); 55 static MediaStreamCenter& instance();
56 56
57 void didCreateMediaStreamTrack(MediaStreamComponent*); 57 void didCreateMediaStreamTrack(MediaStreamComponent*);
58 void didSetMediaStreamTrackEnabled(MediaStreamComponent*); 58 void didSetMediaStreamTrackEnabled(MediaStreamComponent*);
59 bool didStopMediaStreamTrack(MediaStreamComponent*); 59 bool didStopMediaStreamTrack(MediaStreamComponent*);
60 PassOwnPtr<AudioSourceProvider> createWebAudioSourceFromMediaStreamTrack(Med iaStreamComponent*); 60 PassOwnPtr<AudioSourceProvider> createWebAudioSourceFromMediaStreamTrack(Med iaStreamComponent*);
61 61
62 void didCreateMediaStream(MediaStreamDescriptor*); 62 void didCreateMediaStream(MediaStreamDescriptor*);
63 void didCreateMediaStreamAndTracks(MediaStreamDescriptor*); 63 void didCreateMediaStreamAndTracks(MediaStreamDescriptor*);
64 bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent*); 64 bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent*);
65 bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent* ); 65 bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent* );
66 void didStopLocalMediaStream(MediaStreamDescriptor*); 66 void didStopLocalMediaStream(MediaStreamDescriptor*);
67 67
68 // blink::WebMediaStreamCenterClient 68 // blink::WebMediaStreamCenterClient
69 virtual void stopLocalMediaStream(const WebMediaStream&) override; 69 void stopLocalMediaStream(const WebMediaStream&) override;
70 70
71 private: 71 private:
72 MediaStreamCenter(); 72 MediaStreamCenter();
73 73
74 OwnPtr<WebMediaStreamCenter> m_private; 74 OwnPtr<WebMediaStreamCenter> m_private;
75 }; 75 };
76 76
77 } // namespace blink 77 } // namespace blink
78 78
79 #endif // MediaStreamCenter_h 79 #endif // MediaStreamCenter_h
OLDNEW
« no previous file with comments | « Source/platform/mac/ThemeMac.h ('k') | Source/platform/mediastream/MediaStreamComponent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698