OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
267 Member<ContentSecurityPolicy> m_contentSecurityPolicy; | 267 Member<ContentSecurityPolicy> m_contentSecurityPolicy; |
268 ClientHintsPreferences m_clientHintsPreferences; | 268 ClientHintsPreferences m_clientHintsPreferences; |
269 InitialScrollState m_initialScrollState; | 269 InitialScrollState m_initialScrollState; |
270 | 270 |
271 bool m_wasBlockedAfterXFrameOptionsOrCSP; | 271 bool m_wasBlockedAfterXFrameOptionsOrCSP; |
272 | 272 |
273 enum State { | 273 enum State { |
274 NotStarted, | 274 NotStarted, |
275 Provisional, | 275 Provisional, |
276 Committed, | 276 Committed, |
277 MainResourceDone, | |
Nate Chapin
2016/12/12 21:40:37
This state isn't actually used for anything, it's
| |
278 SentDidFinishLoad | 277 SentDidFinishLoad |
279 }; | 278 }; |
280 State m_state; | 279 State m_state; |
281 | 280 |
282 // Used to protect against reentrancy into dataReceived(). | 281 // Used to protect against reentrancy into dataReceived(). |
283 bool m_inDataReceived; | 282 bool m_inDataReceived; |
284 RefPtr<SharedBuffer> m_dataBuffer; | 283 RefPtr<SharedBuffer> m_dataBuffer; |
285 }; | 284 }; |
286 | 285 |
287 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 286 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
288 | 287 |
289 } // namespace blink | 288 } // namespace blink |
290 | 289 |
291 #endif // DocumentLoader_h | 290 #endif // DocumentLoader_h |
OLD | NEW |