Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / common / net / url_fixer_upper.h
index 27a7aa9..55b0396 100644 (file)
@@ -14,7 +14,7 @@ namespace base {
 class FilePath;
 }
 
-namespace url_parse {
+namespace url {
 struct Component;
 struct Parsed;
 }
@@ -30,8 +30,8 @@ namespace URLFixerUpper {
   // segments.  Currently does not segment "file" schemes.
   // Returns the canonicalized scheme, or the empty string when |text| is only
   // whitespace.
-  std::string SegmentURL(const std::string& text, url_parse::Parsed* parts);
-  string16 SegmentURL(const string16& text, url_parse::Parsed* parts);
+std::string SegmentURL(const std::string& text, url::Parsed* parts);
+base::string16 SegmentURL(const base::string16& text, url::Parsed* parts);
 
   // Converts |text| to a fixed-up URL and returns it. Attempts to make
   // some "smart" adjustments to obviously-invalid input where possible.
@@ -73,7 +73,7 @@ namespace URLFixerUpper {
   // scheme component no longer exists.  In such a case, the beginning index is
   // set to 0.
   // Does nothing if |part| is invalid.
-  void OffsetComponent(int offset, url_parse::Component* part);
+  void OffsetComponent(int offset, url::Component* part);
 
   // For paths like ~, we use $HOME for the current user's home
   // directory.  For tests, we allow our idea of $HOME to be overriden