| 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/url_util.h" | 5 #include "url/url_util.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 7 #include <string.h> | 8 #include <string.h> |
| 8 #include <vector> | 9 #include <vector> |
| 9 | 10 |
| 10 #include "base/debug/leak_annotations.h" | 11 #include "base/debug/leak_annotations.h" |
| 11 #include "base/logging.h" | 12 #include "base/logging.h" |
| 12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 13 #include "url/url_canon_internal.h" | 14 #include "url/url_canon_internal.h" |
| 14 #include "url/url_file.h" | 15 #include "url/url_file.h" |
| 15 #include "url/url_util_internal.h" | 16 #include "url/url_util_internal.h" |
| 16 | 17 |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 return DoCompareSchemeComponent(spec, component, compare_to); | 575 return DoCompareSchemeComponent(spec, component, compare_to); |
| 575 } | 576 } |
| 576 | 577 |
| 577 bool CompareSchemeComponent(const base::char16* spec, | 578 bool CompareSchemeComponent(const base::char16* spec, |
| 578 const Component& component, | 579 const Component& component, |
| 579 const char* compare_to) { | 580 const char* compare_to) { |
| 580 return DoCompareSchemeComponent(spec, component, compare_to); | 581 return DoCompareSchemeComponent(spec, component, compare_to); |
| 581 } | 582 } |
| 582 | 583 |
| 583 } // namespace url | 584 } // namespace url |
| OLD | NEW |