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

Unified Diff: content/browser/media/webrtc_internals.cc

Issue 213703004: Ensure that WebRTC AEC recording checkbox is not set if cancelling file dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/media/webrtc_internals.cc
diff --git a/content/browser/media/webrtc_internals.cc b/content/browser/media/webrtc_internals.cc
index 4f64ccef8c34769c2f33cbb34bd15ca738ab5cc6..8ded1a0c4360a32c115283c8e1f6b2272346dc7b 100644
--- a/content/browser/media/webrtc_internals.cc
+++ b/content/browser/media/webrtc_internals.cc
@@ -289,6 +289,12 @@ void WebRTCInternals::FileSelected(const base::FilePath& path,
#endif
}
+void WebRTCInternals::FileSelectionCanceled(void* params) {
+#if defined(ENABLE_WEBRTC)
Ami GONE FROM CHROMIUM 2014/03/27 19:04:53 lol why is this file even being compiled if !ENABL
Henrik Grunell 2014/03/28 09:06:01 :) It's indeed more or less hilarious. I noticed t
+ SendUpdate("aecRecordingFileSelectionCancelled", NULL);
+#endif
+}
+
void WebRTCInternals::OnRendererExit(int render_process_id) {
// Iterates from the end of the list to remove the PeerConnections created
// by the exitting renderer.

Powered by Google App Engine
This is Rietveld 408576698