| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "base/strings/string16.h" |
| 6 #include "url/third_party/mozilla/url_parse.h" | 7 #include "url/third_party/mozilla/url_parse.h" |
| 7 #include "url/url_file.h" | 8 #include "url/url_file.h" |
| 8 #include "url/url_parse_internal.h" | 9 #include "url/url_parse_internal.h" |
| 9 | 10 |
| 10 // Interesting IE file:isms... | 11 // Interesting IE file:isms... |
| 11 // | 12 // |
| 12 // INPUT OUTPUT | 13 // INPUT OUTPUT |
| 13 // ========================= ============================== | 14 // ========================= ============================== |
| 14 // file:/foo/bar file:///foo/bar | 15 // file:/foo/bar file:///foo/bar |
| 15 // The result here seems totally invalid!?!? This isn't UNC. | 16 // The result here seems totally invalid!?!? This isn't UNC. |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 214 |
| 214 void ParseFileURL(const char* url, int url_len, Parsed* parsed) { | 215 void ParseFileURL(const char* url, int url_len, Parsed* parsed) { |
| 215 DoParseFileURL(url, url_len, parsed); | 216 DoParseFileURL(url, url_len, parsed); |
| 216 } | 217 } |
| 217 | 218 |
| 218 void ParseFileURL(const base::char16* url, int url_len, Parsed* parsed) { | 219 void ParseFileURL(const base::char16* url, int url_len, Parsed* parsed) { |
| 219 DoParseFileURL(url, url_len, parsed); | 220 DoParseFileURL(url, url_len, parsed); |
| 220 } | 221 } |
| 221 | 222 |
| 222 } // namespace url | 223 } // namespace url |
| OLD | NEW |