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

Unified Diff: components/url_formatter/url_fixer.h

Issue 1171333003: Move net::FormatUrl and friends outside of //net and into //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again now that CQ is fixed Created 5 years, 4 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 | « components/url_formatter/elide_url_unittest.cc ('k') | components/url_formatter/url_fixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_formatter/url_fixer.h
diff --git a/components/url_fixer/url_fixer.h b/components/url_formatter/url_fixer.h
similarity index 95%
rename from components/url_fixer/url_fixer.h
rename to components/url_formatter/url_fixer.h
index baf14c69b95c1b1874c433b31126578b798d60ac..b7c592d3940d2750f2fb1cc6e1a19887d2c2ce2f 100644
--- a/components/url_fixer/url_fixer.h
+++ b/components/url_formatter/url_fixer.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_URL_FIXER_URL_FIXER_H_
-#define COMPONENTS_URL_FIXER_URL_FIXER_H_
+#ifndef COMPONENTS_URL_FORMATTER_URL_FIXER_H_
+#define COMPONENTS_URL_FORMATTER_URL_FIXER_H_
#include <string>
@@ -23,7 +23,7 @@ struct Parsed;
// know are valid. For example, user typing in the URL bar or command line
// options. This is NOT the place for converting between different types of URLs
// or parsing them, see net_util.h for that.
-namespace url_fixer {
+namespace url_formatter {
// Segments the given text string into parts of a URL. This is most useful for
// schemes such as http, https, and ftp where |SegmentURL| will find many
@@ -82,6 +82,6 @@ bool IsEquivalentScheme(const std::string& scheme1, const std::string& scheme2);
// For tests, we allow our idea of $HOME to be overriden by this variable.
extern const char* home_directory_override;
-} // namespace url_fixer
+} // namespace url_formatter
-#endif // COMPONENTS_URL_FIXER_URL_FIXER_H_
+#endif // COMPONENTS_URL_FORMATTER_URL_FIXER_H_
« no previous file with comments | « components/url_formatter/elide_url_unittest.cc ('k') | components/url_formatter/url_fixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698