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

Unified Diff: net/tools/dump_cache/url_utilities.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/tools/dump_cache/url_to_filename_encoder_unittest.cc ('k') | net/tools/dump_cache/url_utilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/url_utilities.h
diff --git a/net/tools/dump_cache/url_utilities.h b/net/tools/dump_cache/url_utilities.h
deleted file mode 100644
index c9d8ea5f8e60caf7e2ab15ce5e773fbf0c466f9c..0000000000000000000000000000000000000000
--- a/net/tools/dump_cache/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_DUMP_CACHE_URL_UTILITIES_H_
-#define NET_TOOLS_DUMP_CACHE_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_DUMP_CACHE_URL_UTILITIES_H_
« no previous file with comments | « net/tools/dump_cache/url_to_filename_encoder_unittest.cc ('k') | net/tools/dump_cache/url_utilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698