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

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

Issue 2653953005: PlzNavigate: transmit redirect info to the renderer side (Closed)
Patch Set: Rebase + addressed comments Created 3 years, 10 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 Resource* startPreload(Resource::Type, FetchRequest&); 183 Resource* startPreload(Resource::Type, FetchRequest&);
184 184
185 DECLARE_VIRTUAL_TRACE(); 185 DECLARE_VIRTUAL_TRACE();
186 186
187 protected: 187 protected:
188 DocumentLoader(LocalFrame*, 188 DocumentLoader(LocalFrame*,
189 const ResourceRequest&, 189 const ResourceRequest&,
190 const SubstituteData&, 190 const SubstituteData&,
191 ClientRedirectPolicy); 191 ClientRedirectPolicy);
192 192
193 void didRedirect(const KURL& oldURL, const KURL& newURL);
194
195 Vector<KURL> m_redirectChain; 193 Vector<KURL> m_redirectChain;
196 194
197 private: 195 private:
198 static DocumentWriter* createWriterFor(const DocumentInit&, 196 static DocumentWriter* createWriterFor(const DocumentInit&,
199 const AtomicString& mimeType, 197 const AtomicString& mimeType,
200 const AtomicString& encoding, 198 const AtomicString& encoding,
201 bool dispatchWindowObjectAvailable, 199 bool dispatchWindowObjectAvailable,
202 ParserSynchronizationPolicy, 200 ParserSynchronizationPolicy,
203 const KURL& overridingURL = KURL()); 201 const KURL& overridingURL = KURL());
204 202
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Used to protect against reentrancy into dataReceived(). 292 // Used to protect against reentrancy into dataReceived().
295 bool m_inDataReceived; 293 bool m_inDataReceived;
296 RefPtr<SharedBuffer> m_dataBuffer; 294 RefPtr<SharedBuffer> m_dataBuffer;
297 }; 295 };
298 296
299 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); 297 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader);
300 298
301 } // namespace blink 299 } // namespace blink
302 300
303 #endif // DocumentLoader_h 301 #endif // DocumentLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698