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

Side by Side Diff: third_party/WebKit/Source/core/dom/DocumentEncodingData.h

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef DocumentEncodingData_h 31 #ifndef DocumentEncodingData_h
32 #define DocumentEncodingData_h 32 #define DocumentEncodingData_h
33 33
34 #include "platform/CrossThreadCopier.h" 34 #include "platform/CrossThreadCopier.h"
35 #include "wtf/Allocator.h" 35 #include "platform/wtf/Allocator.h"
36 #include "wtf/text/TextEncoding.h" 36 #include "platform/wtf/text/TextEncoding.h"
37 37
38 namespace blink { 38 namespace blink {
39 class TextResourceDecoder; 39 class TextResourceDecoder;
40 40
41 class DocumentEncodingData { 41 class DocumentEncodingData {
42 DISALLOW_NEW(); 42 DISALLOW_NEW();
43 43
44 public: 44 public:
45 DocumentEncodingData(); 45 DocumentEncodingData();
46 explicit DocumentEncodingData(const TextResourceDecoder&); 46 explicit DocumentEncodingData(const TextResourceDecoder&);
(...skipping 16 matching lines...) Expand all
63 inline bool operator!=(const DocumentEncodingData& a, 63 inline bool operator!=(const DocumentEncodingData& a,
64 const DocumentEncodingData& b) { 64 const DocumentEncodingData& b) {
65 return a.Encoding() != b.Encoding() || 65 return a.Encoding() != b.Encoding() ||
66 a.WasDetectedHeuristically() != b.WasDetectedHeuristically() || 66 a.WasDetectedHeuristically() != b.WasDetectedHeuristically() ||
67 a.SawDecodingError() != b.SawDecodingError(); 67 a.SawDecodingError() != b.SawDecodingError();
68 } 68 }
69 69
70 } // namespace blink 70 } // namespace blink
71 71
72 #endif // DocumentEncodingData_h 72 #endif // DocumentEncodingData_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentFullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698