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

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

Issue 461163002: Cleanup namespace usage in Source/core/modules/[mediasource/* to websockets/*] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
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 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef MediaStreamTrackSourcesRequestImpl_h 26 #ifndef MediaStreamTrackSourcesRequestImpl_h
27 #define MediaStreamTrackSourcesRequestImpl_h 27 #define MediaStreamTrackSourcesRequestImpl_h
28 28
29 #include "modules/mediastream/SourceInfo.h" 29 #include "modules/mediastream/SourceInfo.h"
30 #include "platform/mediastream/MediaStreamTrackSourcesRequest.h" 30 #include "platform/mediastream/MediaStreamTrackSourcesRequest.h"
31 31
32 namespace blink { 32 namespace blink {
33 class WebSourceInfo;
34 template<typename T> class WebVector;
35 }
36
37 namespace blink {
38 33
39 class ExecutionContext; 34 class ExecutionContext;
40 class MediaStreamTrackSourcesCallback; 35 class MediaStreamTrackSourcesCallback;
36 class WebSourceInfo;
37 template<typename T> class WebVector;
41 38
42 class MediaStreamTrackSourcesRequestImpl FINAL : public MediaStreamTrackSourcesR equest { 39 class MediaStreamTrackSourcesRequestImpl FINAL : public MediaStreamTrackSourcesR equest {
43 public: 40 public:
44 static MediaStreamTrackSourcesRequestImpl* create(ExecutionContext&, PassOwn Ptr<MediaStreamTrackSourcesCallback>); 41 static MediaStreamTrackSourcesRequestImpl* create(ExecutionContext&, PassOwn Ptr<MediaStreamTrackSourcesCallback>);
45 ~MediaStreamTrackSourcesRequestImpl(); 42 ~MediaStreamTrackSourcesRequestImpl();
46 43
47 virtual String origin() OVERRIDE; 44 virtual String origin() OVERRIDE;
48 virtual void requestSucceeded(const blink::WebVector<blink::WebSourceInfo>&) OVERRIDE; 45 virtual void requestSucceeded(const WebVector<WebSourceInfo>&) OVERRIDE;
49 46
50 virtual void trace(Visitor*) OVERRIDE; 47 virtual void trace(Visitor*) OVERRIDE;
51 48
52 private: 49 private:
53 MediaStreamTrackSourcesRequestImpl(ExecutionContext&, PassOwnPtr<MediaStream TrackSourcesCallback>); 50 MediaStreamTrackSourcesRequestImpl(ExecutionContext&, PassOwnPtr<MediaStream TrackSourcesCallback>);
54 51
55 void performCallback(); 52 void performCallback();
56 53
57 OwnPtr<MediaStreamTrackSourcesCallback> m_callback; 54 OwnPtr<MediaStreamTrackSourcesCallback> m_callback;
58 RefPtrWillBeMember<ExecutionContext> m_executionContext; 55 RefPtrWillBeMember<ExecutionContext> m_executionContext;
59 SourceInfoVector m_sourceInfos; 56 SourceInfoVector m_sourceInfos;
60 }; 57 };
61 58
62 } // namespace blink 59 } // namespace blink
63 60
64 #endif // MediaStreamTrackSourcesRequestImpl_h 61 #endif // MediaStreamTrackSourcesRequestImpl_h
OLDNEW
« no previous file with comments | « Source/modules/mediastream/MediaDeviceInfo.h ('k') | Source/modules/mediastream/RTCDTMFSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698