summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/media_stream_registry_interface.h
blob: ace11c5e396f9f82377045abd66ebb738ac864aa (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_MEDIA_STREAM_REGISTRY_INTERFACE_H_
#define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_REGISTRY_INTERFACE_H_

#include <string>

#include "third_party/WebKit/public/platform/WebMediaStream.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_MEDIA_STREAM_REGISTRY_INTERFACE_H_