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

Unified Diff: net/http/http_status_code.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « net/http/http_server_properties_manager_unittest.cc ('k') | net/http/http_status_code.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_status_code.h
diff --git a/net/http/http_status_code.h b/net/http/http_status_code.h
deleted file mode 100644
index a4b398b5038c20c5bf131d73f99621c06c4e1737..0000000000000000000000000000000000000000
--- a/net/http/http_status_code.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 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 NET_HTTP_HTTP_STATUS_CODE_H_
-#define NET_HTTP_HTTP_STATUS_CODE_H_
-
-#include "net/base/net_export.h"
-
-namespace net {
-
-// HTTP status codes.
-enum HttpStatusCode {
-
-#define HTTP_STATUS(label, code, reason) HTTP_ ## label = code,
-#include "net/http/http_status_code_list.h"
-#undef HTTP_STATUS
-
-};
-
-// Returns the corresponding HTTP status description to use in the Reason-Phrase
-// field in an HTTP response for given |code|. It's based on the IANA HTTP
-// Status Code Registry.
-// http://www.iana.org/assignments/http-status-codes/http-status-codes.xml
-//
-// This function may not cover all codes defined in the IANA registry. It
-// returns an empty string (or crash in debug build) for status codes which are
-// not yet covered or just invalid. Please extend it when needed.
-NET_EXPORT const char* GetHttpReasonPhrase(HttpStatusCode code);
-
-} // namespace net
-
-#endif // NET_HTTP_HTTP_STATUS_CODE_H_
« no previous file with comments | « net/http/http_server_properties_manager_unittest.cc ('k') | net/http/http_status_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698