Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: third_party/WebKit/Source/wtf/text/AtomicString.h

Issue 2586253004: Revert of Optimize KURL protocols (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
296 294
297 // AtomicStringHash is the default hash for AtomicString 295 // AtomicStringHash is the default hash for AtomicString
298 template <typename T> 296 template <typename T>
299 struct DefaultHash; 297 struct DefaultHash;
300 template <> 298 template <>
301 struct DefaultHash<AtomicString> { 299 struct DefaultHash<AtomicString> {
302 typedef AtomicStringHash Hash; 300 typedef AtomicStringHash Hash;
303 }; 301 };
304 302
305 // Pretty printer for gtest and base/logging.*. It prepends and appends 303 // Pretty printer for gtest and base/logging.*. It prepends and appends
(...skipping 16 matching lines...) Expand all
322 using WTF::AtomicString; 320 using WTF::AtomicString;
323 using WTF::nullAtom; 321 using WTF::nullAtom;
324 using WTF::emptyAtom; 322 using WTF::emptyAtom;
325 using WTF::starAtom; 323 using WTF::starAtom;
326 using WTF::xmlAtom; 324 using WTF::xmlAtom;
327 using WTF::xmlnsAtom; 325 using WTF::xmlnsAtom;
328 using WTF::xlinkAtom; 326 using WTF::xlinkAtom;
329 327
330 #include "wtf/text/StringConcatenate.h" 328 #include "wtf/text/StringConcatenate.h"
331 #endif // AtomicString_h 329 #endif // AtomicString_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/KURLTest.cpp ('k') | third_party/WebKit/Source/wtf/text/StringStatics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698