| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2010 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 * 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 CSSPreloadScanner m_cssScanner; | 130 CSSPreloadScanner m_cssScanner; |
| 131 const KURL m_documentURL; | 131 const KURL m_documentURL; |
| 132 KURL m_predictedBaseElementURL; | 132 KURL m_predictedBaseElementURL; |
| 133 bool m_inStyle; | 133 bool m_inStyle; |
| 134 bool m_inPicture; | 134 bool m_inPicture; |
| 135 bool m_isAppCacheEnabled; | 135 bool m_isAppCacheEnabled; |
| 136 bool m_isCSPEnabled; | 136 bool m_isCSPEnabled; |
| 137 PictureData m_pictureData; | 137 PictureData m_pictureData; |
| 138 size_t m_templateCount; | 138 size_t m_templateCount; |
| 139 OwnPtr<CachedDocumentParameters> m_documentParameters; | 139 OwnPtr<CachedDocumentParameters> m_documentParameters; |
| 140 RefPtrWillBePersistent<MediaValuesCached> m_mediaValues; | 140 Persistent<MediaValuesCached> m_mediaValues; |
| 141 ClientHintsPreferences m_clientHintsPreferences; | 141 ClientHintsPreferences m_clientHintsPreferences; |
| 142 | 142 |
| 143 Vector<Checkpoint> m_checkpoints; | 143 Vector<Checkpoint> m_checkpoints; |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 class CORE_EXPORT HTMLPreloadScanner { | 146 class CORE_EXPORT HTMLPreloadScanner { |
| 147 WTF_MAKE_NONCOPYABLE(HTMLPreloadScanner); USING_FAST_MALLOC(HTMLPreloadScann
er); | 147 WTF_MAKE_NONCOPYABLE(HTMLPreloadScanner); USING_FAST_MALLOC(HTMLPreloadScann
er); |
| 148 public: | 148 public: |
| 149 static PassOwnPtr<HTMLPreloadScanner> create(const HTMLParserOptions& option
s, const KURL& documentURL, PassOwnPtr<CachedDocumentParameters> documentParamet
ers, const MediaValuesCached::MediaValuesCachedData& mediaValuesCachedData) | 149 static PassOwnPtr<HTMLPreloadScanner> create(const HTMLParserOptions& option
s, const KURL& documentURL, PassOwnPtr<CachedDocumentParameters> documentParamet
ers, const MediaValuesCached::MediaValuesCachedData& mediaValuesCachedData) |
| 150 { | 150 { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 162 | 162 |
| 163 TokenPreloadScanner m_scanner; | 163 TokenPreloadScanner m_scanner; |
| 164 SegmentedString m_source; | 164 SegmentedString m_source; |
| 165 HTMLToken m_token; | 165 HTMLToken m_token; |
| 166 OwnPtr<HTMLTokenizer> m_tokenizer; | 166 OwnPtr<HTMLTokenizer> m_tokenizer; |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 } // namespace blink | 169 } // namespace blink |
| 170 | 170 |
| 171 #endif | 171 #endif |
| OLD | NEW |