| 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 "url/third_party/mozilla/url_parse.h" | 5 #include "url/third_party/mozilla/url_parse.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/macros.h" | 9 #include "base/macros.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 9 #include "url/third_party/mozilla/url_parse.h" | 11 #include "url/third_party/mozilla/url_parse.h" |
| 10 | 12 |
| 11 // Interesting IE file:isms... | 13 // Interesting IE file:isms... |
| 12 // | 14 // |
| 13 // file:/foo/bar file:///foo/bar | 15 // file:/foo/bar file:///foo/bar |
| 14 // The result here seems totally invalid!?!? This isn't UNC. | 16 // The result here seems totally invalid!?!? This isn't UNC. |
| 15 // | 17 // |
| 16 // file:/ | 18 // file:/ |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 // The remaining components are never used for filesystem URLs. | 681 // The remaining components are never used for filesystem URLs. |
| 680 ExpectInvalidComponent(parsed.username); | 682 ExpectInvalidComponent(parsed.username); |
| 681 ExpectInvalidComponent(parsed.password); | 683 ExpectInvalidComponent(parsed.password); |
| 682 ExpectInvalidComponent(parsed.host); | 684 ExpectInvalidComponent(parsed.host); |
| 683 ExpectInvalidComponent(parsed.port); | 685 ExpectInvalidComponent(parsed.port); |
| 684 } | 686 } |
| 685 } | 687 } |
| 686 | 688 |
| 687 } // namespace | 689 } // namespace |
| 688 } // namespace url | 690 } // namespace url |
| OLD | NEW |