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

Unified Diff: chrome/browser/resources/whispernet_proxy/js/init.js

Issue 461803003: Stop playing/recording when not needed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: chrome/browser/resources/whispernet_proxy/js/init.js
diff --git a/chrome/browser/resources/whispernet_proxy/js/init.js b/chrome/browser/resources/whispernet_proxy/js/init.js
index a5b11c9faebdad44d4ffd25d98e195d7c0ed7b6d..b34c8dc4a1423663eab68a51e44e2b858a63fde1 100644
--- a/chrome/browser/resources/whispernet_proxy/js/init.js
+++ b/chrome/browser/resources/whispernet_proxy/js/init.js
@@ -42,6 +42,7 @@ function initialize(audioParams) {
*/
function encodeTokenRequest(token, audible) {
if (whisperEncoder) {
+ console.log('Got encoding request');
xiyuan 2014/08/12 18:57:50 nit: remove debugging log?
rkc 2014/08/13 00:28:59 Done.
whisperEncoder.encode(atob(token), audible, true);
} else {
console.error('encodeTokenRequest: Whisper not initialized!');

Powered by Google App Engine
This is Rietveld 408576698