Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: content/renderer/media/mock_media_stream_registry.h

Issue 14312015: Effects Pepper Plugin and MediaStream Glue. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_
7
8 #include <string>
9
10 #include "content/renderer/media/media_stream_registry_interface.h"
11 #include "content/renderer/media/mock_media_stream_dependency_factory.h"
12
13 namespace content {
14
15 class MockMediaStreamRegistry : public MediaStreamRegistryInterface {
16 public:
17 explicit MockMediaStreamRegistry(MockMediaStreamDependencyFactory* factory);
18
19 void Init(const std::string& stream_label);
20 bool AddVideoTrack(const std::string& track_id);
21 virtual WebKit::WebMediaStream GetMediaStream(const std::string& url)
22 OVERRIDE;
23 const WebKit::WebMediaStream test_stream() const;
24
25 private:
26 MockMediaStreamDependencyFactory* factory_;
27 WebKit::WebMediaStream test_stream_;
28 std::string stream_url_;
29 };
30
31 } // namespace content
32
33 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_REGISTRY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/mock_media_stream_dependency_factory.cc ('k') | content/renderer/media/mock_media_stream_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698