| 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 "url/third_party/mozilla/url_parse.h" |
| 6 #include "url/url_file.h" | 7 #include "url/url_file.h" |
| 7 #include "url/url_parse.h" | |
| 8 #include "url/url_parse_internal.h" | 8 #include "url/url_parse_internal.h" |
| 9 | 9 |
| 10 // Interesting IE file:isms... | 10 // Interesting IE file:isms... |
| 11 // | 11 // |
| 12 // INPUT OUTPUT | 12 // INPUT OUTPUT |
| 13 // ========================= ============================== | 13 // ========================= ============================== |
| 14 // file:/foo/bar file:///foo/bar | 14 // file:/foo/bar file:///foo/bar |
| 15 // The result here seems totally invalid!?!? This isn't UNC. | 15 // The result here seems totally invalid!?!? This isn't UNC. |
| 16 // | 16 // |
| 17 // file:/ | 17 // file:/ |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 213 |
| 214 void ParseFileURL(const char* url, int url_len, Parsed* parsed) { | 214 void ParseFileURL(const char* url, int url_len, Parsed* parsed) { |
| 215 DoParseFileURL(url, url_len, parsed); | 215 DoParseFileURL(url, url_len, parsed); |
| 216 } | 216 } |
| 217 | 217 |
| 218 void ParseFileURL(const base::char16* url, int url_len, Parsed* parsed) { | 218 void ParseFileURL(const base::char16* url, int url_len, Parsed* parsed) { |
| 219 DoParseFileURL(url, url_len, parsed); | 219 DoParseFileURL(url, url_len, parsed); |
| 220 } | 220 } |
| 221 | 221 |
| 222 } // namespace url | 222 } // namespace url |
| OLD | NEW |