Fix broken states in WebRTC text logging.
* Removes the log state CHANNEL_CLOSING, which is actually not a log state. * Adds channel_is_closing_ flag instead. This way, it's possible to check in WebRtcLoggingHandlerHost::StoreLogInDirectory and WebRtcLoggingHandlerHost::DoUploadLogAndRtpDumps if the log is in closed state or not when channel is closing to avoid multiple upload/store attempts. Multiple stores/uploads could happen if channel is closing and a store or upload operation has been issued around the same time. Bug: 807547 Change-Id: I5e41d5a02095044582c06037d440d22a2edc0be2 Reviewed-on: https://chromium-review.googlesource.com/c/1296538Reviewed-by:Tommi <tommi@chromium.org> Commit-Queue: Henrik Grunell <grunell@chromium.org> Cr-Commit-Position: refs/heads/master@{#602104}
Showing
Please register or sign in to comment