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

Side by Side Diff: Source/core/loader/DocumentLoader.h

Issue 1124153003: [Oilpan] [Reland] Migrate classes under core/fetch to Oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Work for comment 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) 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 virtual void dataReceived(Resource*, const char* data, unsigned length) override final; 179 virtual void dataReceived(Resource*, const char* data, unsigned length) override final;
180 virtual void notifyFinished(Resource*) override final; 180 virtual void notifyFinished(Resource*) override final;
181 181
182 bool maybeLoadEmpty(); 182 bool maybeLoadEmpty();
183 183
184 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse& ); 184 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse& );
185 185
186 bool shouldContinueForResponse() const; 186 bool shouldContinueForResponse() const;
187 187
188 RawPtrWillBeMember<LocalFrame> m_frame; 188 RawPtrWillBeMember<LocalFrame> m_frame;
189 RefPtrWillBeMember<ResourceFetcher> m_fetcher; 189 PersistentWillBeMember<ResourceFetcher> m_fetcher;
190 190
191 ResourcePtr<RawResource> m_mainResource; 191 ResourcePtr<RawResource> m_mainResource;
192 192
193 RefPtrWillBeMember<DocumentWriter> m_writer; 193 RefPtrWillBeMember<DocumentWriter> m_writer;
194 194
195 // A reference to actual request used to create the data source. 195 // A reference to actual request used to create the data source.
196 // The only part of this request that should change is the url, and 196 // The only part of this request that should change is the url, and
197 // that only in the case of a same-document navigation. 197 // that only in the case of a same-document navigation.
198 ResourceRequest m_originalRequest; 198 ResourceRequest m_originalRequest;
199 199
(...skipping 26 matching lines...) Expand all
226 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; 226 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy;
227 ClientHintsPreferences m_clientHintsPreferences; 227 ClientHintsPreferences m_clientHintsPreferences;
228 InitialScrollState m_initialScrollState; 228 InitialScrollState m_initialScrollState;
229 }; 229 };
230 230
231 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); 231 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader);
232 232
233 } // namespace blink 233 } // namespace blink
234 234
235 #endif // DocumentLoader_h 235 #endif // DocumentLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698