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

Side by Side Diff: Source/core/html/parser/BackgroundHTMLParser.h

Issue 1235563004: Apply meta tag referrer policy for preloaded requests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix conflicting policies test Created 5 years, 5 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) 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 OwnPtr<HTMLToken> m_token; 100 OwnPtr<HTMLToken> m_token;
101 OwnPtr<HTMLTokenizer> m_tokenizer; 101 OwnPtr<HTMLTokenizer> m_tokenizer;
102 HTMLTreeBuilderSimulator m_treeBuilderSimulator; 102 HTMLTreeBuilderSimulator m_treeBuilderSimulator;
103 HTMLParserOptions m_options; 103 HTMLParserOptions m_options;
104 const size_t m_outstandingTokenLimit; 104 const size_t m_outstandingTokenLimit;
105 WeakPtr<HTMLDocumentParser> m_parser; 105 WeakPtr<HTMLDocumentParser> m_parser;
106 106
107 OwnPtr<CompactHTMLTokenStream> m_pendingTokens; 107 OwnPtr<CompactHTMLTokenStream> m_pendingTokens;
108 const size_t m_pendingTokenLimit; 108 const size_t m_pendingTokenLimit;
109 PreloadRequestStream m_pendingPreloads; 109 PreloadRequestStream m_pendingPreloads;
110 String m_preloadedReferrerPolicy;
110 XSSInfoStream m_pendingXSSInfos; 111 XSSInfoStream m_pendingXSSInfos;
111 112
112 OwnPtr<XSSAuditor> m_xssAuditor; 113 OwnPtr<XSSAuditor> m_xssAuditor;
113 OwnPtr<TokenPreloadScanner> m_preloadScanner; 114 OwnPtr<TokenPreloadScanner> m_preloadScanner;
114 OwnPtr<TextResourceDecoder> m_decoder; 115 OwnPtr<TextResourceDecoder> m_decoder;
115 DocumentEncodingData m_lastSeenEncodingData; 116 DocumentEncodingData m_lastSeenEncodingData;
116 WebScheduler* m_scheduler; // NOT OWNED, scheduler will outlive BackgroundHT MLParser 117 WebScheduler* m_scheduler; // NOT OWNED, scheduler will outlive BackgroundHT MLParser
117 118
118 bool m_startingScript; 119 bool m_startingScript;
119 }; 120 };
120 121
121 } 122 }
122 123
123 #endif 124 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698