Grant delete on Entry from webrtcLoggingPrivate.getLogsDirectory
This API is intended for use by an app to read "WebRTC Logs" files generated for debug purposes on devices within Google. I initially proposed making it purely read-only to prevent contention with the creation and writing to audio debug files; however, the app can restrict itself to acting on files that the aec dump process has finished with (as indicated by getting a callback from startAudioDebugRecordings/stopAudioDebugRecordings). While a low volume of debug recordings would eventually be cleaned up after 5 days and a reboot (per WebRtcLogUtil::DeleteOldWebRtcLogFilesForAllProfiles), the needed frequency and volume of recordings would be more flexible if the app could clean up files it generated. Bug: 775961 Change-Id: I8492b0619ee1c98737f0248190d68a1e3bee5bca Reviewed-on: https://chromium-review.googlesource.com/795671Reviewed-by:Mustafa Emre Acer <meacer@chromium.org> Reviewed-by:
Tommi <tommi@chromium.org> Commit-Queue: Adrian Elder <aelder@chromium.org> Cr-Commit-Position: refs/heads/master@{#520176}
Showing
Please register or sign in to comment