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

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

Issue 407403002: Chromoting: Synchronize connected/disconnected state between Java/C++ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/chromoting_jni_runtime.h
diff --git a/remoting/client/jni/chromoting_jni_runtime.h b/remoting/client/jni/chromoting_jni_runtime.h
index a5ca339a9f0228a1d74908336f561d55e2402288..68a8891602f351c7811845f0a876e7004c9e5d27 100644
--- a/remoting/client/jni/chromoting_jni_runtime.h
+++ b/remoting/client/jni/chromoting_jni_runtime.h
@@ -63,10 +63,8 @@ class ChromotingJniRuntime {
// |session_|. This is a no-op unless |session| is currently non-null.
void DisconnectFromHost();
- // Returns the client for the currently-active session. Do not call if
- // |session| is null.
+ // Returns the client for the currently-active session.
scoped_refptr<ChromotingJniInstance> session() {
- DCHECK(session_);
return session_;
}

Powered by Google App Engine
This is Rietveld 408576698