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

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

Issue 10919122: Move creation of PeerConnection from the RenderView to the RenderThreadImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to latest codec base. Created 8 years, 3 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_MEDIA_STREAM_SOURCE_EXTRA_DATA_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_SOURCE_EXTRA_DATA_H_
7
8 #include "base/compiler_specific.h"
9 #include "content/common/content_export.h"
10 #include "content/common/media/media_stream_options.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStreamSourc e.h"
12
13 class CONTENT_EXPORT MediaStreamSourceExtraData
14 : NON_EXPORTED_BASE(public WebKit::WebMediaStreamSource::ExtraData) {
15 public:
16 explicit MediaStreamSourceExtraData(
17 const media_stream::StreamDeviceInfo& device_info)
18 : device_info_(device_info) {
19 }
20
21 // Return device information about the camera or microphone.
22 const media_stream::StreamDeviceInfo& device_info() const {
23 return device_info_;
24 }
25
26 private:
27 media_stream::StreamDeviceInfo device_info_;
tommi (sloooow) - chröme 2012/09/12 13:10:24 fix indent
perkj_chrome 2012/09/12 13:54:39 Done.
28
29 DISALLOW_COPY_AND_ASSIGN(MediaStreamSourceExtraData);
30 };
31
32 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_SOURCE_EXTRA_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698