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

Side by Side Diff: Source/wtf/text/StringHash.h

Issue 18095003: Replace #include <wtf/foo.h> with #include "wtf/foo.h" in Source/wtf. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/wtf/text/StringConcatenate.h ('k') | Source/wtf/text/TextCodecASCIIFastPath.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2012, 2013 Apple Inc. All rights reserved 2 * Copyright (C) 2006, 2007, 2008, 2012, 2013 Apple Inc. All rights reserved
3 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #ifndef StringHash_h 22 #ifndef StringHash_h
23 #define StringHash_h 23 #define StringHash_h
24 24
25 #include <wtf/text/AtomicString.h> 25 #include "wtf/text/AtomicString.h"
26 #include <wtf/HashTraits.h> 26 #include "wtf/HashTraits.h"
27 #include <wtf/StringHasher.h> 27 #include "wtf/StringHasher.h"
28 28
29 namespace WTF { 29 namespace WTF {
30 30
31 inline bool HashTraits<String>::isEmptyValue(const String& value) 31 inline bool HashTraits<String>::isEmptyValue(const String& value)
32 { 32 {
33 return value.isNull(); 33 return value.isNull();
34 } 34 }
35 35
36 // The hash() functions on StringHash and CaseFoldingHash do not support 36 // The hash() functions on StringHash and CaseFoldingHash do not support
37 // null strings. get(), contains(), and add() on HashMap<String,..., StringH ash> 37 // null strings. get(), contains(), and add() on HashMap<String,..., StringH ash>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 }; 148 };
149 149
150 } 150 }
151 151
152 using WTF::AlreadyHashed; 152 using WTF::AlreadyHashed;
153 using WTF::CaseFoldingHash; 153 using WTF::CaseFoldingHash;
154 using WTF::StringHash; 154 using WTF::StringHash;
155 155
156 #endif 156 #endif
OLDNEW
« no previous file with comments | « Source/wtf/text/StringConcatenate.h ('k') | Source/wtf/text/TextCodecASCIIFastPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698