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 28 matching lines...) Expand all Loading... |
39 #include "core/fetch/SubstituteData.h" | 39 #include "core/fetch/SubstituteData.h" |
40 #include "core/frame/csp/ContentSecurityPolicy.h" | 40 #include "core/frame/csp/ContentSecurityPolicy.h" |
41 #include "core/loader/DocumentLoadTiming.h" | 41 #include "core/loader/DocumentLoadTiming.h" |
42 #include "core/loader/DocumentWriter.h" | 42 #include "core/loader/DocumentWriter.h" |
43 #include "core/loader/FrameLoaderTypes.h" | 43 #include "core/loader/FrameLoaderTypes.h" |
44 #include "core/loader/NavigationPolicy.h" | 44 #include "core/loader/NavigationPolicy.h" |
45 #include "platform/SharedBuffer.h" | 45 #include "platform/SharedBuffer.h" |
46 #include "platform/network/ResourceError.h" | 46 #include "platform/network/ResourceError.h" |
47 #include "platform/network/ResourceRequest.h" | 47 #include "platform/network/ResourceRequest.h" |
48 #include "platform/network/ResourceResponse.h" | 48 #include "platform/network/ResourceResponse.h" |
| 49 #include "public/platform/WebExperimentData.h" |
49 #include "wtf/HashSet.h" | 50 #include "wtf/HashSet.h" |
50 #include "wtf/RefPtr.h" | 51 #include "wtf/RefPtr.h" |
51 | 52 |
52 namespace blink { | 53 namespace blink { |
53 | 54 |
54 class ApplicationCacheHost; | 55 class ApplicationCacheHost; |
55 class ResourceFetcher; | 56 class ResourceFetcher; |
56 class DocumentInit; | 57 class DocumentInit; |
57 class LocalFrame; | 58 class LocalFrame; |
58 class FrameLoader; | 59 class FrameLoader; |
(...skipping 26 matching lines...) Expand all Loading... |
85 | 86 |
86 const SubstituteData& substituteData() const { return m_substituteData; } | 87 const SubstituteData& substituteData() const { return m_substituteData; } |
87 | 88 |
88 const KURL& url() const; | 89 const KURL& url() const; |
89 const KURL& unreachableURL() const; | 90 const KURL& unreachableURL() const; |
90 const KURL& urlForHistory() const; | 91 const KURL& urlForHistory() const; |
91 | 92 |
92 const AtomicString& responseMIMEType() const; | 93 const AtomicString& responseMIMEType() const; |
93 | 94 |
94 void didChangePerformanceTiming(); | 95 void didChangePerformanceTiming(); |
| 96 void didUseExperiment(WebExperimentData); |
95 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce); | 97 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour
ce); |
96 const ResourceResponse& response() const { return m_response; } | 98 const ResourceResponse& response() const { return m_response; } |
97 bool isClientRedirect() const { return m_isClientRedirect; } | 99 bool isClientRedirect() const { return m_isClientRedirect; } |
98 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isCli
entRedirect; } | 100 void setIsClientRedirect(bool isClientRedirect) { m_isClientRedirect = isCli
entRedirect; } |
99 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistoryIte
m; } | 101 bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistoryIte
m; } |
100 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_repl
acesCurrentHistoryItem = replacesCurrentHistoryItem; } | 102 void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_repl
acesCurrentHistoryItem = replacesCurrentHistoryItem; } |
101 | 103 |
102 bool isCommittedButEmpty() const { return m_state == Committed; } | 104 bool isCommittedButEmpty() const { return m_state == Committed; } |
103 | 105 |
104 void setSentDidFinishLoad() { m_state = SentDidFinishLoad; } | 106 void setSentDidFinishLoad() { m_state = SentDidFinishLoad; } |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // Used to protect against reentrancy into dataReceived(). | 230 // Used to protect against reentrancy into dataReceived(). |
229 bool m_inDataReceived; | 231 bool m_inDataReceived; |
230 RefPtr<SharedBuffer> m_dataBuffer; | 232 RefPtr<SharedBuffer> m_dataBuffer; |
231 }; | 233 }; |
232 | 234 |
233 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); | 235 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); |
234 | 236 |
235 } // namespace blink | 237 } // namespace blink |
236 | 238 |
237 #endif // DocumentLoader_h | 239 #endif // DocumentLoader_h |
OLD | NEW |