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

Unified Diff: chrome/browser/chromeos/cros/network_constants.h

Issue 11824046: Detect user initiated network connection failures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: chrome/browser/chromeos/cros/network_constants.h
diff --git a/chrome/browser/chromeos/cros/network_constants.h b/chrome/browser/chromeos/cros/network_constants.h
index a8c00a1d4564b445044eed13f72ddd717e418607..3eb2ca9346f9627aec02cbd521604b5a2df8c6d4 100644
--- a/chrome/browser/chromeos/cros/network_constants.h
+++ b/chrome/browser/chromeos/cros/network_constants.h
@@ -233,6 +233,14 @@ enum ConnectionState {
STATE_CONNECT_REQUESTED = 11, // Chrome only state
};
+// Chrome only state set for user initiated connection attempts.
+enum UserConnectState {
+ USER_CONNECT_NONE = 0,
+ USER_CONNECT_STARTED = 1,
+ USER_CONNECT_CONNECTED = 2,
+ USER_CONNECT_FAILED = 3
+};
+
// Network enums (see flimflam/include/network.h)
enum NetworkTechnology {
NETWORK_TECHNOLOGY_UNKNOWN = 0,
@@ -327,6 +335,9 @@ enum ConnectionError {
ERROR_IPSEC_PSK_AUTH_FAILED = 15,
ERROR_IPSEC_CERT_AUTH_FAILED = 16,
ERROR_PPP_AUTH_FAILED = 17,
+ ERROR_EAP_AUTHENTICATION_FAILED = 18,
+ ERROR_EAP_LOCAL_TLS_FAILED = 19,
+ ERROR_EAP_REMOTE_TLS_FAILED = 20,
ERROR_UNKNOWN = 255
};

Powered by Google App Engine
This is Rietveld 408576698