Index: remoting/client/jni/chromoting_jni_runtime.h |
diff --git a/remoting/client/jni/chromoting_jni_runtime.h b/remoting/client/jni/chromoting_jni_runtime.h |
index a5ca339a9f0228a1d74908336f561d55e2402288..f905702138781f0a145141860c040f1eea17b85e 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); |