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

Side by Side Diff: third_party/WebKit/Source/core/loader/DocumentWriter.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 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) 2010. Adam Barth. All rights reserved. 2 * Copyright (C) 2010. Adam Barth. 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 14 matching lines...) Expand all
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #ifndef DocumentWriter_h 29 #ifndef DocumentWriter_h
30 #define DocumentWriter_h 30 #define DocumentWriter_h
31 31
32 #include "core/html/parser/ParserSynchronizationPolicy.h" 32 #include "core/html/parser/ParserSynchronizationPolicy.h"
33 #include "core/loader/TextResourceDecoderBuilder.h" 33 #include "core/loader/TextResourceDecoderBuilder.h"
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "wtf/RefCounted.h" 35 #include "wtf/Forward.h"
36 #include "wtf/text/WTFString.h"
37 36
38 namespace blink { 37 namespace blink {
39 38
40 class Document; 39 class Document;
41 class DocumentParser; 40 class DocumentParser;
42 41
43 class DocumentWriter final : public GarbageCollectedFinalized<DocumentWriter> { 42 class DocumentWriter final : public GarbageCollectedFinalized<DocumentWriter> {
44 WTF_MAKE_NONCOPYABLE(DocumentWriter); 43 WTF_MAKE_NONCOPYABLE(DocumentWriter);
45 public: 44 public:
46 static DocumentWriter* create(Document*, ParserSynchronizationPolicy, const AtomicString& mimeType, const AtomicString& encoding); 45 static DocumentWriter* create(Document*, ParserSynchronizationPolicy, const AtomicString& mimeType, const AtomicString& encoding);
(...skipping 18 matching lines...) Expand all
65 64
66 Member<Document> m_document; 65 Member<Document> m_document;
67 TextResourceDecoderBuilder m_decoderBuilder; 66 TextResourceDecoderBuilder m_decoderBuilder;
68 67
69 Member<DocumentParser> m_parser; 68 Member<DocumentParser> m_parser;
70 }; 69 };
71 70
72 } // namespace blink 71 } // namespace blink
73 72
74 #endif // DocumentWriter_h 73 #endif // DocumentWriter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698