• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_COMMON_NET_HTTP_RETURN_H_
6 #define CHROME_COMMON_NET_HTTP_RETURN_H_
7 #pragma once
8 
9 // TODO(sanjeevr): This has been moved from the sync library so it only
10 // contains a few HTTP return codes. Add more HTTP return codes.
11 enum HTTPReturnCode {
12   RC_REQUEST_OK = 200,
13   RC_BAD_REQUEST = 400,
14   RC_UNAUTHORIZED = 401,
15   RC_FORBIDDEN = 403,
16   RC_INTERNAL_SERVER_ERROR = 500,
17 };
18 
19 #endif  // CHROME_COMMON_NET_HTTP_RETURN_H_
20