Index: content/renderer/media/media_stream_registry_interface.h |
=================================================================== |
--- content/renderer/media/media_stream_registry_interface.h (revision 0) |
+++ content/renderer/media/media_stream_registry_interface.h (revision 0) |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_ |
+#define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_ |
+ |
+#include <string> |
+ |
+#include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStream.h" |
+ |
+namespace content { |
+ |
+// Interface to get WebMediaStream from its url. |
+class MediaStreamRegistryInterface { |
+ public: |
+ virtual WebKit::WebMediaStream GetMediaStream(const std::string& url) = 0; |
+ |
+ protected: |
+ virtual ~MediaStreamRegistryInterface() {} |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_ |
Property changes on: content/renderer/media/media_stream_registry_interface.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |