Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 29 #include "core/dom/DocumentEncodingData.h" | 29 #include "core/dom/DocumentEncodingData.h" |
| 30 #include "core/html/parser/BackgroundHTMLInputStream.h" | 30 #include "core/html/parser/BackgroundHTMLInputStream.h" |
| 31 #include "core/html/parser/CompactHTMLToken.h" | 31 #include "core/html/parser/CompactHTMLToken.h" |
| 32 #include "core/html/parser/HTMLParserOptions.h" | 32 #include "core/html/parser/HTMLParserOptions.h" |
| 33 #include "core/html/parser/HTMLPreloadScanner.h" | 33 #include "core/html/parser/HTMLPreloadScanner.h" |
| 34 #include "core/html/parser/HTMLSourceTracker.h" | 34 #include "core/html/parser/HTMLSourceTracker.h" |
| 35 #include "core/html/parser/HTMLTreeBuilderSimulator.h" | 35 #include "core/html/parser/HTMLTreeBuilderSimulator.h" |
| 36 #include "core/html/parser/TextResourceDecoder.h" | 36 #include "core/html/parser/TextResourceDecoder.h" |
| 37 #include "core/html/parser/TokenizedChunkQueue.h" | 37 #include "core/html/parser/TokenizedChunkQueue.h" |
| 38 #include "core/html/parser/XSSAuditorDelegate.h" | 38 #include "core/html/parser/XSSAuditorDelegate.h" |
| 39 #include "wtf/Optional.h" | |
| 39 #include "wtf/WeakPtr.h" | 40 #include "wtf/WeakPtr.h" |
| 40 #include <memory> | 41 #include <memory> |
| 41 | 42 |
| 42 namespace blink { | 43 namespace blink { |
| 43 | 44 |
| 44 class HTMLDocumentParser; | 45 class HTMLDocumentParser; |
| 45 class XSSAuditor; | 46 class XSSAuditor; |
| 46 class WebTaskRunner; | 47 class WebTaskRunner; |
| 47 | 48 |
| 48 class BackgroundHTMLParser { | 49 class BackgroundHTMLParser { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 124 ViewportDescriptionWrapper m_viewportDescription; | 125 ViewportDescriptionWrapper m_viewportDescription; |
| 125 XSSInfoStream m_pendingXSSInfos; | 126 XSSInfoStream m_pendingXSSInfos; |
| 126 | 127 |
| 127 std::unique_ptr<XSSAuditor> m_xssAuditor; | 128 std::unique_ptr<XSSAuditor> m_xssAuditor; |
| 128 std::unique_ptr<TokenPreloadScanner> m_preloadScanner; | 129 std::unique_ptr<TokenPreloadScanner> m_preloadScanner; |
| 129 std::unique_ptr<TextResourceDecoder> m_decoder; | 130 std::unique_ptr<TextResourceDecoder> m_decoder; |
| 130 DocumentEncodingData m_lastSeenEncodingData; | 131 DocumentEncodingData m_lastSeenEncodingData; |
| 131 std::unique_ptr<WebTaskRunner> m_loadingTaskRunner; | 132 std::unique_ptr<WebTaskRunner> m_loadingTaskRunner; |
| 132 RefPtr<TokenizedChunkQueue> m_tokenizedChunkQueue; | 133 RefPtr<TokenizedChunkQueue> m_tokenizedChunkQueue; |
| 133 | 134 |
| 135 WTF::Optional<int> m_pendingCSPMetaTokenIndex; | |
|
kouhei (in TOK)
2016/08/22 05:34:03
Checked with TOK C++ experts. I think we should go
Charlie Harrison
2016/08/22 14:08:05
SGTM. Changed it.
| |
| 136 | |
| 134 bool m_startingScript; | 137 bool m_startingScript; |
| 135 double m_lastBytesReceivedTime; | 138 double m_lastBytesReceivedTime; |
| 136 bool m_shouldCoalesceChunks; | 139 bool m_shouldCoalesceChunks; |
| 137 }; | 140 }; |
| 138 | 141 |
| 139 } // namespace blink | 142 } // namespace blink |
| 140 | 143 |
| 141 #endif | 144 #endif |
| OLD | NEW |