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

Unified Diff: net/tools/flip_server/url_utilities.h

Issue 2169503002: Remove flip_server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/tools/flip_server/url_to_filename_encoder_unittest.cc ('k') | net/tools/flip_server/url_utilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/url_utilities.h
diff --git a/net/tools/flip_server/url_utilities.h b/net/tools/flip_server/url_utilities.h
deleted file mode 100644
index 318c087a60793f796c2e0be3f7ad839c780d2c72..0000000000000000000000000000000000000000
--- a/net/tools/flip_server/url_utilities.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2010 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_TOOLS_FLIP_SERVER_URL_UTILITIES_H_
-#define NET_TOOLS_FLIP_SERVER_URL_UTILITIES_H_
-
-#include <string>
-
-namespace net {
-
-struct UrlUtilities {
- // Gets the host from an url, strips the port number as well if the url
- // has one.
- // For example: calling GetUrlHost(www.foo.com:8080/boo) returns www.foo.com
- static std::string GetUrlHost(const std::string& url);
-
- // Get the host + path portion of an url
- // e.g http://www.foo.com/path
- // returns www.foo.com/path
- static std::string GetUrlHostPath(const std::string& url);
-
- // Gets the path portion of an url.
- // e.g http://www.foo.com/path
- // returns /path
- static std::string GetUrlPath(const std::string& url);
-
- // Unescape a url, converting all %XX to the the actual char 0xXX.
- // For example, this will convert "foo%21bar" to "foo!bar".
- static std::string Unescape(const std::string& escaped_url);
-};
-
-} // namespace net
-
-#endif // NET_TOOLS_FLIP_SERVER_URL_UTILITIES_H_
« no previous file with comments | « net/tools/flip_server/url_to_filename_encoder_unittest.cc ('k') | net/tools/flip_server/url_utilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698