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

Side by Side Diff: media/mojo/services/mojo_demuxer_stream_adapter.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "media/mojo/services/mojo_demuxer_stream_adapter.h" 5 #include "media/mojo/services/mojo_demuxer_stream_adapter.h"
6 6
7 #include <stdint.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
9 #include "media/base/decoder_buffer.h" 11 #include "media/base/decoder_buffer.h"
10 #include "media/mojo/services/media_type_converters.h" 12 #include "media/mojo/services/media_type_converters.h"
11 #include "mojo/public/cpp/system/data_pipe.h" 13 #include "mojo/public/cpp/system/data_pipe.h"
12 14
13 namespace media { 15 namespace media {
14 16
15 MojoDemuxerStreamAdapter::MojoDemuxerStreamAdapter( 17 MojoDemuxerStreamAdapter::MojoDemuxerStreamAdapter(
16 interfaces::DemuxerStreamPtr demuxer_stream, 18 interfaces::DemuxerStreamPtr demuxer_stream,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 case DemuxerStream::VIDEO: 137 case DemuxerStream::VIDEO:
136 DCHECK(video_config && !audio_config); 138 DCHECK(video_config && !audio_config);
137 video_config_ = video_config.To<VideoDecoderConfig>(); 139 video_config_ = video_config.To<VideoDecoderConfig>();
138 break; 140 break;
139 default: 141 default:
140 NOTREACHED(); 142 NOTREACHED();
141 } 143 }
142 } 144 }
143 145
144 } // namespace media 146 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_decryptor_service.cc ('k') | media/mojo/services/mojo_demuxer_stream_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698