forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move "STATUSCODE_OK, STATUSCODE_PARTIAL_CONTENT, STATUSCODE_FORBIDDEN, STATUSCODE_NOT_FOUND, STATUSCODE_REQUESTED_RANGE_NOT_SATISFIABLE' from http_fs_node.cc to http_status_codes.h to share the codes with the future functionalities exposed to nacl_io. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_nacl_sdk;master.tryserver.chromium.mac:mac_nacl_sdk;master.tryserver.chromium.win:win_nacl_sdk Review-Url: https://codereview.chromium.org/2518593002 Cr-Commit-Position: refs/heads/master@{#433413}
- Loading branch information
chanpatorikku
authored and
Commit bot
committed
Nov 19, 2016
1 parent
d2d3910
commit 1001cfa
Showing
3 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
native_client_sdk/src/libraries/nacl_io/http_status_codes.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// 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. | ||
|
||
#ifndef LIBRARIES_NACL_IO_HTTP_STATUS_CODES_H_ | ||
#define LIBRARIES_NACL_IO_HTTP_STATUS_CODES_H_ | ||
|
||
namespace nacl_io { | ||
|
||
const int32_t STATUSCODE_OK = 200; | ||
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_HTTP_STATUS_CODES_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters