| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/tools/flip_server/http_message_constants.h" | 5 #include "net/tools/balsa/http_message_constants.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 const char* get_http_status_message(int status_message) { | 9 const char* get_http_status_message(int status_message) { |
| 10 switch (status_message) { | 10 switch (status_message) { |
| 11 case 100: | 11 case 100: |
| 12 return "Continue"; | 12 return "Continue"; |
| 13 case 101: | 13 case 101: |
| 14 return "Switching Protocols"; | 14 return "Switching Protocols"; |
| 15 case 200: | 15 case 200: |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 505 | 137 505 |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 //////////////////////////////////////////////////////////////////////////////// | 140 //////////////////////////////////////////////////////////////////////////////// |
| 141 | 141 |
| 142 const int http_status_code_count = sizeof(http_status_codes) / | 142 const int http_status_code_count = sizeof(http_status_codes) / |
| 143 sizeof(http_status_codes[0]); | 143 sizeof(http_status_codes[0]); |
| 144 | 144 |
| 145 } // namespace net | 145 } // namespace net |
| 146 | 146 |
| OLD | NEW |