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

Issue 1468923002: Remove <iostream> include from file_audio_device.cc (Closed)

Created:
5 years, 1 month ago by kjellander_webrtc
Modified:
5 years, 1 month ago
Reviewers:
henrika_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, peah-webrtc, Dirk Pranke
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove <iostream> include from file_audio_device.cc Including this header in production code introduces static initializers, which is disallowed in Chromium. BUG=chromium:559766 TESTED=git cl try -c --bot=android_compile_rel --bot=linux_compile_rel --bot=win_compile_rel --bot=mac_compile_rel --bot=ios_rel --bot=linux_gn_rel --bot=win_x64_gn_rel --bot=mac_x64_gn_rel --bot=android_gn_rel -m tryserver.webrtc R=henrika@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/fa8ae9a5356de3cb4fd820cc97d251c9a2ce000a

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -9 lines) Patch
M webrtc/modules/audio_device/dummy/file_audio_device.cc View 1 1 chunk +8 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
kjellander_webrtc
5 years, 1 month ago (2015-11-23 08:55:43 UTC) #3
henrika_webrtc
But the log lists: # file_audio_device.cc webrtc::kPlayoutBufferSize # file_audio_device.cc webrtc::kPlayoutNumChannels # file_audio_device.cc webrtc::kRecordingBufferSize # file_audio_device.cc ...
5 years, 1 month ago (2015-11-23 09:06:29 UTC) #4
kjellander_webrtc
On 2015/11/23 09:06:29, henrika_webrtc wrote: > But the log lists: > > # file_audio_device.cc webrtc::kPlayoutBufferSize ...
5 years, 1 month ago (2015-11-23 09:22:58 UTC) #5
henrika_webrtc
LGTM with minor comment
5 years, 1 month ago (2015-11-23 09:32:58 UTC) #6
henrika_webrtc
https://codereview.webrtc.org/1468923002/diff/1/webrtc/modules/audio_device/dummy/file_audio_device.cc File webrtc/modules/audio_device/dummy/file_audio_device.cc (right): https://codereview.webrtc.org/1468923002/diff/1/webrtc/modules/audio_device/dummy/file_audio_device.cc#newcode16 webrtc/modules/audio_device/dummy/file_audio_device.cc:16: int kRecordingFixedSampleRate = 48000; Could you also add const's ...
5 years, 1 month ago (2015-11-23 09:33:06 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/fa8ae9a5356de3cb4fd820cc97d251c9a2ce000a Cr-Commit-Position: refs/heads/master@{#10746}
5 years, 1 month ago (2015-11-23 11:44:15 UTC) #8
kjellander_webrtc
Committed patchset #2 (id:20001) manually as fa8ae9a5356de3cb4fd820cc97d251c9a2ce000a (presubmit successful).
5 years, 1 month ago (2015-11-23 11:44:16 UTC) #9
kjellander_webrtc
5 years, 1 month ago (2015-11-23 11:44:59 UTC) #10
Message was sent while issue was closed.
Forgot to send comments before commit. Thanks.

https://codereview.webrtc.org/1468923002/diff/1/webrtc/modules/audio_device/d...
File webrtc/modules/audio_device/dummy/file_audio_device.cc (right):

https://codereview.webrtc.org/1468923002/diff/1/webrtc/modules/audio_device/d...
webrtc/modules/audio_device/dummy/file_audio_device.cc:16: int
kRecordingFixedSampleRate = 48000;
On 2015/11/23 09:33:06, henrika_webrtc wrote:
> Could you also add const's here:
> 
> const int ...

Sure thing. I did in PS#2.

Powered by Google App Engine
This is Rietveld 408576698