Index: native_client_sdk/src/libraries/nacl_io/statuscode.h |
diff --git a/native_client_sdk/src/libraries/nacl_io/statuscode.h b/native_client_sdk/src/libraries/nacl_io/statuscode.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da16897602e19509854126d87a05a3037928f4f5 |
--- /dev/null |
+++ b/native_client_sdk/src/libraries/nacl_io/statuscode.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 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. |
+ |
+#ifndef LIBRARIES_NACL_IO_STATUSCODE_H_ |
+#define LIBRARIES_NACL_IO_STATUSCODE_H_ |
+ |
+namespace nacl_io { |
+ |
+const int32_t STATUSCODE_OK = 200; |
+const int32_t STATUSCODE_NO_CONTENT = 204; |
+const int32_t STATUSCODE_PARTIAL_CONTENT = 206; |
+const int32_t STATUSCODE_FORBIDDEN = 403; |
+const int32_t STATUSCODE_NOT_FOUND = 404; |
+const int32_t STATUSCODE_REQUESTED_RANGE_NOT_SATISFIABLE = 416; |
+ |
+} // namespace nacl_io |
+ |
+#endif // LIBRARIES_NACL_IO_STATUSCODE_H_ |