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

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

Issue 2338473002: [Remoting Android] JniGlDisplayHandler calls invalidate() on UI thread (Closed)
Patch Set: Reviewer's Feedback Created 4 years, 3 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/jni/display_updater_factory.h ('k') | remoting/client/jni/jni_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/jni_client.h
diff --git a/remoting/client/jni/jni_client.h b/remoting/client/jni/jni_client.h
index 75e5c539789a39800e57b09515af619375c2e118..b5bbfeb94c69be5a863053280f076f22dfdcaeaa 100644
--- a/remoting/client/jni/jni_client.h
+++ b/remoting/client/jni/jni_client.h
@@ -17,7 +17,7 @@ namespace remoting {
class ChromotingJniRuntime;
class ChromotingJniInstance;
-class DisplayUpdaterFactory;
+class JniGlDisplayHandler;
class JniPairingSecretFetcher;
// Houses resources scoped to a session and exposes JNI interface to the
@@ -32,8 +32,7 @@ class JniClient {
// Initiates a connection with the specified host. To skip the attempt at
// pair-based authentication, leave |pairing_id| and |pairing_secret| as
// empty strings.
- void ConnectToHost(DisplayUpdaterFactory* updater_factory,
- const std::string& username,
+ void ConnectToHost(const std::string& username,
const std::string& auth_token,
const std::string& host_jid,
const std::string& host_id,
@@ -157,7 +156,7 @@ class JniClient {
// Reference to the Java client object.
base::android::ScopedJavaGlobalRef<jobject> java_client_;
- std::unique_ptr<DisplayUpdaterFactory> display_handler_;
+ std::unique_ptr<JniGlDisplayHandler> display_handler_;
// Deleted on UI thread.
std::unique_ptr<JniPairingSecretFetcher> secret_fetcher_;
« no previous file with comments | « remoting/client/jni/display_updater_factory.h ('k') | remoting/client/jni/jni_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698