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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 virtual void dataReceived(Resource*, const char* data, unsigned length)
override final; | 178 virtual void dataReceived(Resource*, const char* data, unsigned length)
override final; |
179 virtual void notifyFinished(Resource*) override final; | 179 virtual void notifyFinished(Resource*) override final; |
180 | 180 |
181 bool maybeLoadEmpty(); | 181 bool maybeLoadEmpty(); |
182 | 182 |
183 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); | 183 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); |
184 | 184 |
185 bool shouldContinueForResponse() const; | 185 bool shouldContinueForResponse() const; |
186 | 186 |
187 RawPtrWillBeMember<LocalFrame> m_frame; | 187 RawPtrWillBeMember<LocalFrame> m_frame; |
188 RefPtrWillBeMember<ResourceFetcher> m_fetcher; | 188 PersistentWillBeMember<ResourceFetcher> m_fetcher; |
189 | 189 |
190 ResourcePtr<RawResource> m_mainResource; | 190 ResourcePtr<RawResource> m_mainResource; |
191 | 191 |
192 RefPtrWillBeMember<DocumentWriter> m_writer; | 192 RefPtrWillBeMember<DocumentWriter> m_writer; |
193 | 193 |
194 // A reference to actual request used to create the data source. | 194 // A reference to actual request used to create the data source. |
195 // The only part of this request that should change is the url, and | 195 // The only part of this request that should change is the url, and |
196 // that only in the case of a same-document navigation. | 196 // that only in the case of a same-document navigation. |
197 ResourceRequest m_originalRequest; | 197 ResourceRequest m_originalRequest; |
198 | 198 |
(...skipping 24 matching lines...) Expand all Loading... |
223 PersistentWillBeMember<ApplicationCacheHost> m_applicationCacheHost; | 223 PersistentWillBeMember<ApplicationCacheHost> m_applicationCacheHost; |
224 | 224 |
225 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; | 225 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
226 ClientHintsPreferences m_clientHintsPreferences; | 226 ClientHintsPreferences m_clientHintsPreferences; |
227 InitialScrollState m_initialScrollState; | 227 InitialScrollState m_initialScrollState; |
228 }; | 228 }; |
229 | 229 |
230 } // namespace blink | 230 } // namespace blink |
231 | 231 |
232 #endif // DocumentLoader_h | 232 #endif // DocumentLoader_h |
OLD | NEW |