| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 } | 284 } |
| 285 | 285 |
| 286 // Define external global variables for the commonly used atomic strings. | 286 // Define external global variables for the commonly used atomic strings. |
| 287 // These are only usable from the main thread. | 287 // These are only usable from the main thread. |
| 288 WTF_EXPORT extern const AtomicString& nullAtom; | 288 WTF_EXPORT extern const AtomicString& nullAtom; |
| 289 WTF_EXPORT extern const AtomicString& emptyAtom; | 289 WTF_EXPORT extern const AtomicString& emptyAtom; |
| 290 WTF_EXPORT extern const AtomicString& starAtom; | 290 WTF_EXPORT extern const AtomicString& starAtom; |
| 291 WTF_EXPORT extern const AtomicString& xmlAtom; | 291 WTF_EXPORT extern const AtomicString& xmlAtom; |
| 292 WTF_EXPORT extern const AtomicString& xmlnsAtom; | 292 WTF_EXPORT extern const AtomicString& xmlnsAtom; |
| 293 WTF_EXPORT extern const AtomicString& xlinkAtom; | 293 WTF_EXPORT extern const AtomicString& xlinkAtom; |
| 294 WTF_EXPORT extern const AtomicString& httpAtom; |
| 295 WTF_EXPORT extern const AtomicString& httpsAtom; |
| 294 | 296 |
| 295 // AtomicStringHash is the default hash for AtomicString | 297 // AtomicStringHash is the default hash for AtomicString |
| 296 template <typename T> | 298 template <typename T> |
| 297 struct DefaultHash; | 299 struct DefaultHash; |
| 298 template <> | 300 template <> |
| 299 struct DefaultHash<AtomicString> { | 301 struct DefaultHash<AtomicString> { |
| 300 typedef AtomicStringHash Hash; | 302 typedef AtomicStringHash Hash; |
| 301 }; | 303 }; |
| 302 | 304 |
| 303 // Pretty printer for gtest and base/logging.*. It prepends and appends | 305 // Pretty printer for gtest and base/logging.*. It prepends and appends |
| (...skipping 16 matching lines...) Expand all Loading... |
| 320 using WTF::AtomicString; | 322 using WTF::AtomicString; |
| 321 using WTF::nullAtom; | 323 using WTF::nullAtom; |
| 322 using WTF::emptyAtom; | 324 using WTF::emptyAtom; |
| 323 using WTF::starAtom; | 325 using WTF::starAtom; |
| 324 using WTF::xmlAtom; | 326 using WTF::xmlAtom; |
| 325 using WTF::xmlnsAtom; | 327 using WTF::xmlnsAtom; |
| 326 using WTF::xlinkAtom; | 328 using WTF::xlinkAtom; |
| 327 | 329 |
| 328 #include "wtf/text/StringConcatenate.h" | 330 #include "wtf/text/StringConcatenate.h" |
| 329 #endif // AtomicString_h | 331 #endif // AtomicString_h |
| OLD | NEW |