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

Unified Diff: blimp/net/helium/helium_errors.h

Issue 2385913002: Define canonical enum for "HeliumResult" status values. (Closed)
Patch Set: the android compiler is dumb Created 4 years, 2 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: blimp/net/helium/helium_errors.h
diff --git a/blimp/net/helium/helium_errors.h b/blimp/net/helium/helium_errors.h
new file mode 100644
index 0000000000000000000000000000000000000000..687b4b42de1894596e5b54b9320e794c2889d158
--- /dev/null
+++ b/blimp/net/helium/helium_errors.h
@@ -0,0 +1,14 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file intentionally does not have header guards, it's included
+// inside a macro to generate enum values.
+
+// This file contains the list of Helium error codes.
+
+HELIUM_ERROR(INTERNAL_ERROR, 1)
Wez 2016/10/08 00:44:53 nit: Should this be UNKNOWN_ERROR? i.e. it indicat
+
+// The operation could not be performed because the connection to the peer was
+// lost.
+HELIUM_ERROR(DISCONNECTED, 2)

Powered by Google App Engine
This is Rietveld 408576698