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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 Member<ContentSecurityPolicy> m_contentSecurityPolicy; | 264 Member<ContentSecurityPolicy> m_contentSecurityPolicy; |
265 ClientHintsPreferences m_clientHintsPreferences; | 265 ClientHintsPreferences m_clientHintsPreferences; |
266 InitialScrollState m_initialScrollState; | 266 InitialScrollState m_initialScrollState; |
267 | 267 |
268 bool m_wasBlockedAfterCSP; | 268 bool m_wasBlockedAfterCSP; |
269 | 269 |
270 enum State { | 270 enum State { |
271 NotStarted, | 271 NotStarted, |
272 Provisional, | 272 Provisional, |
273 Committed, | 273 Committed, |
274 MainResourceDone, | |
275 SentDidFinishLoad | 274 SentDidFinishLoad |
276 }; | 275 }; |
277 State m_state; | 276 State m_state; |
278 | 277 |
279 // Used to protect against reentrancy into dataReceived(). | 278 // Used to protect against reentrancy into dataReceived(). |
280 bool m_inDataReceived; | 279 bool m_inDataReceived; |
281 RefPtr<SharedBuffer> m_dataBuffer; | 280 RefPtr<SharedBuffer> m_dataBuffer; |
282 }; | 281 }; |
283 | 282 |
284 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 283 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
285 | 284 |
286 } // namespace blink | 285 } // namespace blink |
287 | 286 |
288 #endif // DocumentLoader_h | 287 #endif // DocumentLoader_h |
OLD | NEW |