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

Unified Diff: net/http/http_status_code.cc

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_status_code.h ('k') | net/http/http_status_code_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_status_code.cc
diff --git a/net/http/http_status_code.cc b/net/http/http_status_code.cc
deleted file mode 100644
index fb7261b3001c691d1875a16d53f08b538f68e7ba..0000000000000000000000000000000000000000
--- a/net/http/http_status_code.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2013 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.
-
-#include "net/http/http_status_code.h"
-
-#include "base/logging.h"
-
-namespace net {
-
-const char* GetHttpReasonPhrase(HttpStatusCode code) {
- switch (code) {
-
-#define HTTP_STATUS(label, code, reason) case HTTP_ ## label: return reason;
-#include "net/http/http_status_code_list.h"
-#undef HTTP_STATUS
-
- default:
- NOTREACHED() << "unknown HTTP status code " << code;
- }
-
- return "";
-}
-
-} // namespace net
« no previous file with comments | « net/http/http_status_code.h ('k') | net/http/http_status_code_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698