OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "core/frame/csp/ContentSecurityPolicy.h" | 49 #include "core/frame/csp/ContentSecurityPolicy.h" |
50 #include "core/html/HTMLFrameOwnerElement.h" | 50 #include "core/html/HTMLFrameOwnerElement.h" |
51 #include "core/html/parser/HTMLDocumentParser.h" | 51 #include "core/html/parser/HTMLDocumentParser.h" |
52 #include "core/html/parser/TextResourceDecoder.h" | 52 #include "core/html/parser/TextResourceDecoder.h" |
53 #include "core/inspector/ConsoleMessage.h" | 53 #include "core/inspector/ConsoleMessage.h" |
54 #include "core/inspector/InspectorInstrumentation.h" | 54 #include "core/inspector/InspectorInstrumentation.h" |
55 #include "core/loader/FrameFetchContext.h" | 55 #include "core/loader/FrameFetchContext.h" |
56 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
57 #include "core/loader/FrameLoaderClient.h" | 57 #include "core/loader/FrameLoaderClient.h" |
58 #include "core/loader/LinkLoader.h" | 58 #include "core/loader/LinkLoader.h" |
| 59 #include "core/loader/NetworkHintsInterface.h" |
59 #include "core/loader/ProgressTracker.h" | 60 #include "core/loader/ProgressTracker.h" |
60 #include "core/loader/appcache/ApplicationCacheHost.h" | 61 #include "core/loader/appcache/ApplicationCacheHost.h" |
61 #include "core/page/FrameTree.h" | 62 #include "core/page/FrameTree.h" |
62 #include "core/page/Page.h" | 63 #include "core/page/Page.h" |
63 #include "platform/HTTPNames.h" | 64 #include "platform/HTTPNames.h" |
64 #include "platform/Logging.h" | 65 #include "platform/Logging.h" |
65 #include "platform/UserGestureIndicator.h" | 66 #include "platform/UserGestureIndicator.h" |
66 #include "platform/mhtml/ArchiveResource.h" | 67 #include "platform/mhtml/ArchiveResource.h" |
67 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" | 68 #include "platform/network/ContentSecurityPolicyResponseHeaders.h" |
68 #include "platform/network/HTTPParsers.h" | 69 #include "platform/network/HTTPParsers.h" |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 { | 711 { |
711 m_writer = createWriterFor(init, mimeType(), m_writer ? m_writer->encoding()
: emptyAtom, true, ForceSynchronousParsing); | 712 m_writer = createWriterFor(init, mimeType(), m_writer ? m_writer->encoding()
: emptyAtom, true, ForceSynchronousParsing); |
712 if (!source.isNull()) | 713 if (!source.isNull()) |
713 m_writer->appendReplacingData(source); | 714 m_writer->appendReplacingData(source); |
714 endWriting(m_writer.get()); | 715 endWriting(m_writer.get()); |
715 } | 716 } |
716 | 717 |
717 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 718 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
718 | 719 |
719 } // namespace blink | 720 } // namespace blink |
OLD | NEW |