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

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

Issue 2001813002: Invalidate ChromotingJniInstance's WeakPtr on network thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/chromoting_jni_instance.h
diff --git a/remoting/client/jni/chromoting_jni_instance.h b/remoting/client/jni/chromoting_jni_instance.h
index e832771c26d8d94c516040ddb2beed9f7dcb5eb7..06b76db37d1a51d0ddcd8d7569917fbc7a16d562 100644
--- a/remoting/client/jni/chromoting_jni_instance.h
+++ b/remoting/client/jni/chromoting_jni_instance.h
@@ -55,7 +55,8 @@ class ChromotingJniInstance
const std::string& flags);
// Terminates the current connection (if it hasn't already failed) and cleans
- // up. Must be called before destruction.
+ // up. The instance will no longer be valid after calling this function.
+ // Must be called before destruction.
void Disconnect();
// Requests the android app to fetch a third-party token.
« no previous file with comments | « no previous file | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698