OLD | NEW |
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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #ifndef WebMediaStreamTrackSourcesRequest_h | 26 #ifndef WebMediaStreamTrackSourcesRequest_h |
27 #define WebMediaStreamTrackSourcesRequest_h | 27 #define WebMediaStreamTrackSourcesRequest_h |
28 | 28 |
29 #include "WebCommon.h" | 29 #include "WebCommon.h" |
30 #include "WebNonCopyable.h" | 30 #include "WebNonCopyable.h" |
31 #include "WebPrivatePtr.h" | 31 #include "WebPrivatePtr.h" |
32 #include "WebString.h" | 32 #include "WebString.h" |
33 #include "WebVector.h" | 33 #include "WebVector.h" |
34 | 34 |
35 namespace WebCore { | 35 namespace blink { |
36 class MediaStreamTrackSourcesRequest; | 36 class MediaStreamTrackSourcesRequest; |
37 } | 37 } |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 class WebSourceInfo; | 40 class WebSourceInfo; |
41 | 41 |
42 class WebMediaStreamTrackSourcesRequest { | 42 class WebMediaStreamTrackSourcesRequest { |
43 public: | 43 public: |
44 class ExtraData { | 44 class ExtraData { |
45 public: | 45 public: |
(...skipping 19 matching lines...) Expand all Loading... |
65 BLINK_PLATFORM_EXPORT void requestSucceeded(const WebVector<WebSourceInfo>&)
const; | 65 BLINK_PLATFORM_EXPORT void requestSucceeded(const WebVector<WebSourceInfo>&)
const; |
66 | 66 |
67 // Extra data associated with this object. | 67 // Extra data associated with this object. |
68 // If non-null, the extra data pointer will be deleted when the object is de
stroyed. | 68 // If non-null, the extra data pointer will be deleted when the object is de
stroyed. |
69 // Setting the extra data pointer will cause any existing non-null | 69 // Setting the extra data pointer will cause any existing non-null |
70 // extra data pointer to be deleted. | 70 // extra data pointer to be deleted. |
71 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; | 71 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; |
72 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); | 72 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); |
73 | 73 |
74 #if INSIDE_BLINK | 74 #if INSIDE_BLINK |
75 BLINK_PLATFORM_EXPORT WebMediaStreamTrackSourcesRequest(WebCore::MediaStream
TrackSourcesRequest*); | 75 BLINK_PLATFORM_EXPORT WebMediaStreamTrackSourcesRequest(blink::MediaStreamTr
ackSourcesRequest*); |
76 #endif | 76 #endif |
77 | 77 |
78 private: | 78 private: |
79 WebPrivatePtr<WebCore::MediaStreamTrackSourcesRequest> m_private; | 79 WebPrivatePtr<blink::MediaStreamTrackSourcesRequest> m_private; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
83 | 83 |
84 #endif // WebMediaStreamTrackSourcesRequest_h | 84 #endif // WebMediaStreamTrackSourcesRequest_h |
OLD | NEW |