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

Side by Side Diff: content/renderer/media/media_recorder_handler.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/renderer/media/media_recorder_handler.h" 5 #include "content/renderer/media/media_recorder_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
10 #include "base/strings/string_tokenizer.h" 11 #include "base/strings/string_tokenizer.h"
11 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
12 #include "content/renderer/media/audio_track_recorder.h" 13 #include "content/renderer/media/audio_track_recorder.h"
13 #include "content/renderer/media/media_stream_audio_track.h" 14 #include "content/renderer/media/media_stream_audio_track.h"
14 #include "content/renderer/media/media_stream_track.h" 15 #include "content/renderer/media/media_stream_track.h"
15 #include "content/renderer/media/video_track_recorder.h" 16 #include "content/renderer/media/video_track_recorder.h"
16 #include "content/renderer/media/webrtc_uma_histograms.h" 17 #include "content/renderer/media/webrtc_uma_histograms.h"
17 #include "media/audio/audio_parameters.h" 18 #include "media/audio/audio_parameters.h"
18 #include "media/base/audio_bus.h" 19 #include "media/base/audio_bus.h"
19 #include "media/base/bind_to_current_loop.h" 20 #include "media/base/bind_to_current_loop.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 recorder->OnData(audio_bus, timestamp); 254 recorder->OnData(audio_bus, timestamp);
254 } 255 }
255 256
256 void MediaRecorderHandler::SetAudioFormatForTesting( 257 void MediaRecorderHandler::SetAudioFormatForTesting(
257 const media::AudioParameters& params) { 258 const media::AudioParameters& params) {
258 for (auto* recorder : audio_recorders_) 259 for (auto* recorder : audio_recorders_)
259 recorder->OnSetFormat(params); 260 recorder->OnSetFormat(params);
260 } 261 }
261 262
262 } // namespace content 263 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/media_recorder_handler.h ('k') | content/renderer/media/media_recorder_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698