| 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 namespace WebKit { | 37 namespace WebKit { |
| 38 class WebSourceInfo; | 38 class WebSourceInfo; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace WebCore { | 41 namespace WebCore { |
| 42 | 42 |
| 43 class MediaStreamTrackSourcesCallback; | 43 class MediaStreamTrackSourcesCallback; |
| 44 class ExecutionContext; | 44 class ExecutionContext; |
| 45 | 45 |
| 46 class MediaStreamTrackSourcesRequest : public RefCounted<MediaStreamTrackSources
Request> { | 46 class MediaStreamTrackSourcesRequest FINAL : public RefCounted<MediaStreamTrackS
ourcesRequest> { |
| 47 public: | 47 public: |
| 48 class ExtraData : public RefCounted<ExtraData> { | 48 class ExtraData : public RefCounted<ExtraData> { |
| 49 public: | 49 public: |
| 50 virtual ~ExtraData() { } | 50 virtual ~ExtraData() { } |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 static PassRefPtr<MediaStreamTrackSourcesRequest> create(ExecutionContext*,
PassRefPtr<MediaStreamTrackSourcesCallback>); | 53 static PassRefPtr<MediaStreamTrackSourcesRequest> create(ExecutionContext*,
PassRefPtr<MediaStreamTrackSourcesCallback>); |
| 54 ~MediaStreamTrackSourcesRequest(); | 54 ~MediaStreamTrackSourcesRequest(); |
| 55 | 55 |
| 56 String origin() { return m_origin; } | 56 String origin() { return m_origin; } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 69 RefPtr<ExtraData> m_extraData; | 69 RefPtr<ExtraData> m_extraData; |
| 70 String m_origin; | 70 String m_origin; |
| 71 Timer<MediaStreamTrackSourcesRequest> m_scheduledEventTimer; | 71 Timer<MediaStreamTrackSourcesRequest> m_scheduledEventTimer; |
| 72 SourceInfoVector m_sourceInfos; | 72 SourceInfoVector m_sourceInfos; |
| 73 RefPtr<MediaStreamTrackSourcesRequest> m_protect; | 73 RefPtr<MediaStreamTrackSourcesRequest> m_protect; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace WebCore | 76 } // namespace WebCore |
| 77 | 77 |
| 78 #endif // MediaStreamTrackSourcesRequest_h | 78 #endif // MediaStreamTrackSourcesRequest_h |
| OLD | NEW |