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

Unified Diff: remoting/client/jni/chromoting_jni_instance.h

Issue 2052723002: Adding an interface to allow extention of the audio player for CRD and iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments in CL. Created 4 years, 6 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
« no previous file with comments | « remoting/client/fake_audio_consumer.cc ('k') | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/chromoting_jni_instance.h
diff --git a/remoting/client/jni/chromoting_jni_instance.h b/remoting/client/jni/chromoting_jni_instance.h
index 738f11e1a0c610c730ddd1d5ce9cb90edbd88036..18104b8e356198f072df4b744e42e720e15c4830 100644
--- a/remoting/client/jni/chromoting_jni_instance.h
+++ b/remoting/client/jni/chromoting_jni_instance.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_
-#define REMOTING_CLIENT_CHROMOTING_JNI_INSTANCE_H_
+#ifndef REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_
+#define REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_
#include <memory>
#include <string>
@@ -30,6 +30,7 @@ class PerformanceTracker;
class VideoRenderer;
} // namespace protocol
+class AudioPlayerAndroid;
class ChromotingJniRuntime;
class JniClient;
class JniDisplayHandler;
@@ -179,6 +180,8 @@ class ChromotingJniInstance
std::unique_ptr<XmppSignalStrategy> signaling_; // Must outlive client_
protocol::ThirdPartyTokenFetchedCallback third_party_token_fetched_callback_;
+ std::unique_ptr<AudioPlayerAndroid> audio_player_;
+
// Indicates whether to establish a new pairing with this host. This is
// modified in ProvideSecret(), but thereafter to be used only from the
// network thread. (This is safe because ProvideSecret() is invoked at most
@@ -209,4 +212,4 @@ class ChromotingJniInstance
} // namespace remoting
-#endif
+#endif // REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_
« no previous file with comments | « remoting/client/fake_audio_consumer.cc ('k') | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698