| OLD | NEW |
| 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 "content/common/media/audio_messages.h" | 8 #include "content/common/media/audio_messages.h" |
| 9 #include "content/common/media/video_capture_messages.h" | 9 #include "content/common/media/video_capture_messages.h" |
| 10 #include "ipc/ipc_message_utils.h" | 10 #include "ipc/ipc_message_utils.h" |
| 11 #include "media/audio/audio_parameters.h" | 11 #include "media/base/audio_parameters.h" |
| 12 #include "media/audio/point.h" | 12 #include "media/base/audio_point.h" |
| 13 #include "media/base/limits.h" | 13 #include "media/base/limits.h" |
| 14 #include "ui/gfx/ipc/gfx_param_traits.h" | 14 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 15 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 15 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 16 | 16 |
| 17 using media::AudioParameters; | 17 using media::AudioParameters; |
| 18 using media::ChannelLayout; | 18 using media::ChannelLayout; |
| 19 using media::VideoCaptureFormat; | 19 using media::VideoCaptureFormat; |
| 20 | 20 |
| 21 namespace IPC { | 21 namespace IPC { |
| 22 | 22 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 return r->IsValid(); | 84 return r->IsValid(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 void ParamTraits<VideoCaptureFormat>::Log(const VideoCaptureFormat& p, | 87 void ParamTraits<VideoCaptureFormat>::Log(const VideoCaptureFormat& p, |
| 88 std::string* l) { | 88 std::string* l) { |
| 89 l->append(base::StringPrintf("<VideoCaptureFormat> %s", | 89 l->append(base::StringPrintf("<VideoCaptureFormat> %s", |
| 90 media::VideoCaptureFormat::ToString(p).c_str())); | 90 media::VideoCaptureFormat::ToString(p).c_str())); |
| 91 } | 91 } |
| 92 | 92 |
| 93 } // namespace IPC | 93 } // namespace IPC |
| OLD | NEW |