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

Side by Side Diff: Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 class ExecutionContext; 34 class ExecutionContext;
35 class MediaStreamTrackSourcesCallback; 35 class MediaStreamTrackSourcesCallback;
36 class WebSourceInfo; 36 class WebSourceInfo;
37 template<typename T> class WebVector; 37 template<typename T> class WebVector;
38 38
39 class MediaStreamTrackSourcesRequestImpl final : public MediaStreamTrackSourcesR equest { 39 class MediaStreamTrackSourcesRequestImpl final : public MediaStreamTrackSourcesR equest {
40 public: 40 public:
41 static MediaStreamTrackSourcesRequestImpl* create(ExecutionContext&, MediaSt reamTrackSourcesCallback*); 41 static MediaStreamTrackSourcesRequestImpl* create(ExecutionContext&, MediaSt reamTrackSourcesCallback*);
42 ~MediaStreamTrackSourcesRequestImpl(); 42 ~MediaStreamTrackSourcesRequestImpl();
43 43
44 virtual String origin() override; 44 String origin() override;
45 virtual void requestSucceeded(const WebVector<WebSourceInfo>&) override; 45 void requestSucceeded(const WebVector<WebSourceInfo>&) override;
46 46
47 DECLARE_VIRTUAL_TRACE(); 47 DECLARE_VIRTUAL_TRACE();
48 48
49 private: 49 private:
50 MediaStreamTrackSourcesRequestImpl(ExecutionContext&, MediaStreamTrackSource sCallback*); 50 MediaStreamTrackSourcesRequestImpl(ExecutionContext&, MediaStreamTrackSource sCallback*);
51 51
52 void performCallback(); 52 void performCallback();
53 53
54 Member<MediaStreamTrackSourcesCallback> m_callback; 54 Member<MediaStreamTrackSourcesCallback> m_callback;
55 RefPtrWillBeMember<ExecutionContext> m_executionContext; 55 RefPtrWillBeMember<ExecutionContext> m_executionContext;
56 SourceInfoVector m_sourceInfos; 56 SourceInfoVector m_sourceInfos;
57 }; 57 };
58 58
59 } // namespace blink 59 } // namespace blink
60 60
61 #endif // MediaStreamTrackSourcesRequestImpl_h 61 #endif // MediaStreamTrackSourcesRequestImpl_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/MediaStreamTrackEvent.h ('k') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698