summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/media/stream/media_stream_registry_interface.h
blob: c804e53ca9edb1dcced994f91520126b2f49ef04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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_STREAM_MEDIA_STREAM_REGISTRY_INTERFACE_H_
#define CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_REGISTRY_INTERFACE_H_

#include <string>

#include "third_party/blink/public/platform/web_media_stream.h"

namespace content {

// Interface to get WebMediaStream from its url.
class MediaStreamRegistryInterface {
 public:
  virtual blink::WebMediaStream GetMediaStream(const std::string& url) = 0;

 protected:
  virtual ~MediaStreamRegistryInterface() {}
};

}  // namespace content

#endif  // CONTENT_RENDERER_MEDIA_STREAM_MEDIA_STREAM_REGISTRY_INTERFACE_H_