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

Unified Diff: blimp/net/connection_error_observer.h

Issue 1876983002: Use Chromium BUILD to approximate Blimp protocol version, and check it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android to use GetVersionNumber() 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 | « blimp/net/blimp_connection_unittest.cc ('k') | blimp/net/engine_authentication_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/connection_error_observer.h
diff --git a/blimp/net/connection_error_observer.h b/blimp/net/connection_error_observer.h
index da17db6f168e66776f899bd1024f658fe6c45f99..b00ea7886d44a425c121d0e5ba7d494c160bf0b3 100644
--- a/blimp/net/connection_error_observer.h
+++ b/blimp/net/connection_error_observer.h
@@ -12,6 +12,9 @@ class ConnectionErrorObserver {
virtual ~ConnectionErrorObserver() {}
// Called when a blimp connection encounters an error.
+ // Negative |error| values correspond directly to net/ error codes.
+ // Positive values indicate the EndConnection.reason code specified
+ // by the peer during a "clean" disconnection.
virtual void OnConnectionError(int error) = 0;
};
« no previous file with comments | « blimp/net/blimp_connection_unittest.cc ('k') | blimp/net/engine_authentication_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698