| 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 23 matching lines...) Expand all Loading... |
| 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/XSSAuditorDelegate.h" | 37 #include "core/html/parser/XSSAuditorDelegate.h" |
| 38 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
| 39 #include "wtf/WeakPtr.h" | 39 #include "wtf/WeakPtr.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class HTMLDocumentParser; | 43 class HTMLDocumentParser; |
| 44 class SharedBuffer; | |
| 45 class XSSAuditor; | 44 class XSSAuditor; |
| 46 | 45 |
| 47 class BackgroundHTMLParser { | 46 class BackgroundHTMLParser { |
| 48 WTF_MAKE_FAST_ALLOCATED; | 47 WTF_MAKE_FAST_ALLOCATED; |
| 49 public: | 48 public: |
| 50 struct Configuration { | 49 struct Configuration { |
| 51 HTMLParserOptions options; | 50 HTMLParserOptions options; |
| 52 WeakPtr<HTMLDocumentParser> parser; | 51 WeakPtr<HTMLDocumentParser> parser; |
| 53 OwnPtr<XSSAuditor> xssAuditor; | 52 OwnPtr<XSSAuditor> xssAuditor; |
| 54 OwnPtr<TokenPreloadScanner> preloadScanner; | 53 OwnPtr<TokenPreloadScanner> preloadScanner; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 103 |
| 105 OwnPtr<XSSAuditor> m_xssAuditor; | 104 OwnPtr<XSSAuditor> m_xssAuditor; |
| 106 OwnPtr<TokenPreloadScanner> m_preloadScanner; | 105 OwnPtr<TokenPreloadScanner> m_preloadScanner; |
| 107 OwnPtr<TextResourceDecoder> m_decoder; | 106 OwnPtr<TextResourceDecoder> m_decoder; |
| 108 DocumentEncodingData m_lastSeenEncodingData; | 107 DocumentEncodingData m_lastSeenEncodingData; |
| 109 }; | 108 }; |
| 110 | 109 |
| 111 } | 110 } |
| 112 | 111 |
| 113 #endif | 112 #endif |
| OLD | NEW |