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

Unified Diff: components/url_fixer/url_fixer.h

Issue 320253004: Componentize URLFixerUpper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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
Index: components/url_fixer/url_fixer.h
diff --git a/chrome/common/net/url_fixer_upper.h b/components/url_fixer/url_fixer.h
similarity index 94%
rename from chrome/common/net/url_fixer_upper.h
rename to components/url_fixer/url_fixer.h
index 55b039683a8f816ccd8e93dd30d2bbbf7daafea1..fa682d74a58981e468fd38a73e19e62767583694 100644
--- a/chrome/common/net/url_fixer_upper.h
+++ b/components/url_fixer/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 CHROME_COMMON_NET_URL_FIXER_UPPER_H_
-#define CHROME_COMMON_NET_URL_FIXER_UPPER_H_
+#ifndef COMPONENTS_URL_FIXER_URL_FIXER_H_
+#define COMPONENTS_URL_FIXER_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 URLFixerUpper {
+namespace url_fixer {
// 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
@@ -80,6 +80,6 @@ base::string16 SegmentURL(const base::string16& text, url::Parsed* parts);
// by this variable.
extern const char* home_directory_override;
-} // namespace URLFixerUpper
+} // namespace url_fixer
-#endif // CHROME_COMMON_NET_URL_FIXER_UPPER_H_
+#endif // COMPONENTS_URL_FIXER_URL_FIXER_H_

Powered by Google App Engine
This is Rietveld 408576698