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

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

Issue 2745583008: Refactoring out the chromoting jni runtime class in favor of chromoting client runtime. (Closed)
Patch Set: 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_pairing_secret_fetcher.h
diff --git a/remoting/client/jni/jni_pairing_secret_fetcher.h b/remoting/client/jni/jni_pairing_secret_fetcher.h
index db329e338457eae1422445e3f0578bd52fce1cd1..db67b94f9f50b31cc0bacfe1be2fb85339934d07 100644
--- a/remoting/client/jni/jni_pairing_secret_fetcher.h
+++ b/remoting/client/jni/jni_pairing_secret_fetcher.h
@@ -11,7 +11,7 @@
namespace remoting {
-class ChromotingJniRuntime;
+class ChromotingClientRuntime;
class JniClient;
// This class fetches the pairing secret on the UI thread. This should be
@@ -19,9 +19,8 @@ class JniClient;
// thread.
class JniPairingSecretFetcher {
public:
- JniPairingSecretFetcher(ChromotingJniRuntime* runtime,
- base::WeakPtr<JniClient> client,
- const std::string& host_id);
+ JniPairingSecretFetcher(base::WeakPtr<JniClient> client,
+ const std::string& host_id);
virtual ~JniPairingSecretFetcher();
// Notifies the user interface that the user needs to enter a PIN. The current
@@ -42,7 +41,7 @@ class JniPairingSecretFetcher {
const std::string& host_id,
bool pairable);
- ChromotingJniRuntime* jni_runtime_;
+ ChromotingClientRuntime* runtime_;
base::WeakPtr<JniClient> jni_client_;
std::string host_id_;

Powered by Google App Engine
This is Rietveld 408576698