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

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

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/common/speech_recognition_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
OLDNEW
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/common/speech_recognition_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698