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

Unified Diff: remoting/protocol/session.h

Issue 10692179: Propagate connection state from networking layer to UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/protocol/session.h
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index 3137c3ea6307ec513b12f74756ba20f1d1970290..e23ab90169126be6b7d28e8bd408f0e52b9174fd 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -66,6 +66,10 @@ class Session : public base::NonThreadSafe {
// handler of this event.
virtual void OnSessionRouteChange(const std::string& channel_name,
const TransportRoute& route) = 0;
+
+ // Called when inactive state on one of the channels changes.
Wez 2012/07/16 18:51:23 nit: Clarify what it means for a channel to be "in
Sergey Ulanov 2012/07/17 01:17:17 Done.
+ virtual void OnSessionInactive(const std::string& channel_name,
+ bool inactive) {}
};
// TODO(sergeyu): Specify connection error code when channel

Powered by Google App Engine
This is Rietveld 408576698