summaryrefslogtreecommitdiffstats
path: root/remoting/client/jni/chromoting_jni_runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/jni/chromoting_jni_runtime.h')
-rw-r--r--remoting/client/jni/chromoting_jni_runtime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/client/jni/chromoting_jni_runtime.h b/remoting/client/jni/chromoting_jni_runtime.h
index a5ca339..f905702 100644
--- a/remoting/client/jni/chromoting_jni_runtime.h
+++ b/remoting/client/jni/chromoting_jni_runtime.h
@@ -70,9 +70,9 @@ class ChromotingJniRuntime {
return session_;
}
- // Notifies the user of the current connection status. Call on UI thread.
- void ReportConnectionStatus(protocol::ConnectionToHost::State state,
- protocol::ErrorCode error);
+ // Notifies Java code of the current connection status. Call on UI thread.
+ void OnConnectionState(protocol::ConnectionToHost::State state,
+ protocol::ErrorCode error);
// Pops up a dialog box asking the user to enter a PIN. Call on UI thread.
void DisplayAuthenticationPrompt(bool pairing_supported);