| 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 MediaStreamTrackSourcesRequest_h | 26 #ifndef MediaStreamTrackSourcesRequest_h |
| 27 #define MediaStreamTrackSourcesRequest_h | 27 #define MediaStreamTrackSourcesRequest_h |
| 28 | 28 |
| 29 #include "platform/heap/Handle.h" | 29 #include "platform/heap/Handle.h" |
| 30 #include "public/platform/WebVector.h" | 30 #include "public/platform/WebVector.h" |
| 31 #include "wtf/Forward.h" | 31 #include "wtf/Forward.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class SecurityOrigin; |
| 35 class WebSourceInfo; | 36 class WebSourceInfo; |
| 36 | 37 |
| 37 class MediaStreamTrackSourcesRequest : public GarbageCollectedFinalized<MediaStr
eamTrackSourcesRequest> { | 38 class MediaStreamTrackSourcesRequest : public GarbageCollectedFinalized<MediaStr
eamTrackSourcesRequest> { |
| 38 public: | 39 public: |
| 39 virtual ~MediaStreamTrackSourcesRequest() { } | 40 virtual ~MediaStreamTrackSourcesRequest() { } |
| 40 | 41 |
| 41 virtual String origin() = 0; | 42 virtual PassRefPtr<SecurityOrigin> origin() = 0; |
| 42 virtual void requestSucceeded(const WebVector<WebSourceInfo>&) = 0; | 43 virtual void requestSucceeded(const WebVector<WebSourceInfo>&) = 0; |
| 43 | 44 |
| 44 DEFINE_INLINE_VIRTUAL_TRACE() { } | 45 DEFINE_INLINE_VIRTUAL_TRACE() { } |
| 45 | 46 |
| 46 protected: | 47 protected: |
| 47 MediaStreamTrackSourcesRequest() { } | 48 MediaStreamTrackSourcesRequest() { } |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace blink | 51 } // namespace blink |
| 51 | 52 |
| 52 #endif // MediaStreamTrackSourcesRequest_h | 53 #endif // MediaStreamTrackSourcesRequest_h |
| OLD | NEW |