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

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 9345b3053622e6585e75b651d750b6e79cb996f9..eaf18d3f664333b19f00faa2e9c03f015c56b3e3 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -70,6 +70,10 @@ class Session : public base::NonThreadSafe {
// |channel_name| changes.
virtual void OnSessionRouteChange(const std::string& channel_name,
const TransportRoute& route) = 0;
+
+ // Called when inactive state on one of the channels changes.
+ 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