| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2009, 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #include "config.h" | 32 #include "config.h" |
| 33 #include "KURL.h" | 33 #include "core/platform/KURL.h" |
| 34 | 34 |
| 35 #ifndef NDEBUG | 35 #ifndef NDEBUG |
| 36 #include <stdio.h> | 36 #include <stdio.h> |
| 37 #endif | 37 #endif |
| 38 | 38 |
| 39 #include <algorithm> | 39 #include <algorithm> |
| 40 | 40 |
| 41 #include "NotImplemented.h" | 41 #include "core/platform/NotImplemented.h" |
| 42 #include "PlatformMemoryInstrumentation.h" | 42 #include "core/platform/PlatformMemoryInstrumentation.h" |
| 43 #include "core/platform/text/TextEncoding.h" | 43 #include "core/platform/text/TextEncoding.h" |
| 44 #include <wtf/HashMap.h> | 44 #include <wtf/HashMap.h> |
| 45 #include <wtf/MemoryInstrumentationString.h> | 45 #include <wtf/MemoryInstrumentationString.h> |
| 46 #include <wtf/StdLibExtras.h> | 46 #include <wtf/StdLibExtras.h> |
| 47 #include <wtf/text/CString.h> | 47 #include <wtf/text/CString.h> |
| 48 #include <wtf/text/StringHash.h> | 48 #include <wtf/text/StringHash.h> |
| 49 #include <wtf/Vector.h> | 49 #include <wtf/Vector.h> |
| 50 | 50 |
| 51 #include <googleurl/src/url_util.h> | 51 #include <googleurl/src/url_util.h> |
| 52 | 52 |
| (...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 if (a.string()[hostStartA + i] != b.string()[hostStartB + i]) | 972 if (a.string()[hostStartA + i] != b.string()[hostStartB + i]) |
| 973 return false; | 973 return false; |
| 974 | 974 |
| 975 if (a.port() != b.port()) | 975 if (a.port() != b.port()) |
| 976 return false; | 976 return false; |
| 977 | 977 |
| 978 return true; | 978 return true; |
| 979 } | 979 } |
| 980 | 980 |
| 981 } // namespace WebCore | 981 } // namespace WebCore |
| OLD | NEW |