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

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

Issue 132233004: Update remaining core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/core/fileapi/Stream.h ('k') | Source/core/platform/mediastream/RTCDataChannelHandler.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 (C) 2011 Ericsson AB. All rights reserved. 2 * Copyright (C) 2011 Ericsson AB. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class WebMediaStreamCenter; 43 class WebMediaStreamCenter;
44 class WebMediaStreamTrack; 44 class WebMediaStreamTrack;
45 } 45 }
46 46
47 namespace WebCore { 47 namespace WebCore {
48 48
49 class MediaStreamComponent; 49 class MediaStreamComponent;
50 class MediaStreamDescriptor; 50 class MediaStreamDescriptor;
51 class MediaStreamTrackSourcesRequest; 51 class MediaStreamTrackSourcesRequest;
52 52
53 class MediaStreamCenter : public blink::WebMediaStreamCenterClient { 53 class MediaStreamCenter FINAL : public blink::WebMediaStreamCenterClient {
54 public: 54 public:
55 ~MediaStreamCenter(); 55 virtual ~MediaStreamCenter();
56 56
57 static MediaStreamCenter& instance(); 57 static MediaStreamCenter& instance();
58 58
59 bool getMediaStreamTrackSources(PassRefPtr<MediaStreamTrackSourcesRequest>); 59 bool getMediaStreamTrackSources(PassRefPtr<MediaStreamTrackSourcesRequest>);
60 60
61 void didCreateMediaStreamTrack(MediaStreamComponent*); 61 void didCreateMediaStreamTrack(MediaStreamComponent*);
62 void didSetMediaStreamTrackEnabled(MediaStreamDescriptor*, MediaStreamCompon ent*); 62 void didSetMediaStreamTrackEnabled(MediaStreamDescriptor*, MediaStreamCompon ent*);
63 bool didStopMediaStreamTrack(MediaStreamComponent*); 63 bool didStopMediaStreamTrack(MediaStreamComponent*);
64 64
65 void didCreateMediaStream(MediaStreamDescriptor*); 65 void didCreateMediaStream(MediaStreamDescriptor*);
66 bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent*); 66 bool didAddMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent*);
67 bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent* ); 67 bool didRemoveMediaStreamTrack(MediaStreamDescriptor*, MediaStreamComponent* );
68 void didStopLocalMediaStream(MediaStreamDescriptor*); 68 void didStopLocalMediaStream(MediaStreamDescriptor*);
69 69
70 // blink::WebMediaStreamCenterClient 70 // blink::WebMediaStreamCenterClient
71 virtual void stopLocalMediaStream(const blink::WebMediaStream&) OVERRIDE; 71 virtual void stopLocalMediaStream(const blink::WebMediaStream&) OVERRIDE;
72 72
73 private: 73 private:
74 MediaStreamCenter(); 74 MediaStreamCenter();
75 75
76 OwnPtr<blink::WebMediaStreamCenter> m_private; 76 OwnPtr<blink::WebMediaStreamCenter> m_private;
77 }; 77 };
78 78
79 } // namespace WebCore 79 } // namespace WebCore
80 80
81 #endif // MediaStreamCenter_h 81 #endif // MediaStreamCenter_h
OLDNEW
« no previous file with comments | « Source/core/fileapi/Stream.h ('k') | Source/core/platform/mediastream/RTCDataChannelHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698