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

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

Issue 2745583008: Refactoring out the chromoting jni runtime class in favor of chromoting client runtime. (Closed)
Patch Set: Missed out on a () Created 3 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: remoting/client/jni/jni_client.h
diff --git a/remoting/client/jni/jni_client.h b/remoting/client/jni/jni_client.h
index 8fdd46d88c9bd60979cafc10782cfba04ff2f52b..4428091c7513216a3c972cb1cd89f4ea63508acf 100644
--- a/remoting/client/jni/jni_client.h
+++ b/remoting/client/jni/jni_client.h
@@ -15,7 +15,7 @@
namespace remoting {
-class ChromotingJniRuntime;
+class ChromotingClientRuntime;
class ChromotingJniInstance;
class JniGlDisplayHandler;
class JniPairingSecretFetcher;
@@ -27,8 +27,7 @@ struct ConnectToHostInfo;
// from the UI thread unless otherwise noted.
class JniClient {
public:
- JniClient(ChromotingJniRuntime* runtime,
- base::android::ScopedJavaGlobalRef<jobject> java_client);
+ JniClient(base::android::ScopedJavaGlobalRef<jobject> java_client);
virtual ~JniClient();
// Initiates a connection with the specified host. To skip the attempt at
@@ -149,7 +148,7 @@ class JniClient {
base::WeakPtr<JniClient> GetWeakPtr();
private:
- ChromotingJniRuntime* runtime_;
+ ChromotingClientRuntime* runtime_;
// Reference to the Java client object.
base::android::ScopedJavaGlobalRef<jobject> java_client_;

Powered by Google App Engine
This is Rietveld 408576698