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

Side by Side Diff: content/common/media/media_param_traits.cc

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed extra BUILD.gn line Created 5 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/media/media_param_traits.h" 5 #include "content/common/media/media_param_traits.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "media/audio/audio_parameters.h" 8 #include "media/audio/audio_parameters.h"
9 #include "media/base/limits.h" 9 #include "media/base/limits.h"
10 #include "media/video/capture/video_capture_types.h" 10 #include "media/base/video_capture_types.h"
11 11
12 using media::AudioParameters; 12 using media::AudioParameters;
13 using media::ChannelLayout; 13 using media::ChannelLayout;
14 using media::VideoCaptureFormat; 14 using media::VideoCaptureFormat;
15 using media::VideoPixelFormat; 15 using media::VideoPixelFormat;
16 16
17 namespace IPC { 17 namespace IPC {
18 18
19 void ParamTraits<AudioParameters>::Write(Message* m, 19 void ParamTraits<AudioParameters>::Write(Message* m,
20 const AudioParameters& p) { 20 const AudioParameters& p) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 return false; 81 return false;
82 return true; 82 return true;
83 } 83 }
84 84
85 void ParamTraits<VideoCaptureFormat>::Log(const VideoCaptureFormat& p, 85 void ParamTraits<VideoCaptureFormat>::Log(const VideoCaptureFormat& p,
86 std::string* l) { 86 std::string* l) {
87 l->append(base::StringPrintf("<VideoCaptureFormat>")); 87 l->append(base::StringPrintf("<VideoCaptureFormat>"));
88 } 88 }
89 89
90 } 90 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/video_capture_manager.h ('k') | content/common/media/video_capture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698