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

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

Issue 2461043003: Fix for the RedirectTest.ClientServerServer test. (Closed)
Patch Set: Fix presubmit Created 4 years, 1 month 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 int encodedDataLength); 142 int encodedDataLength);
143 DocumentLoadTiming& timing() { return m_documentLoadTiming; } 143 DocumentLoadTiming& timing() { return m_documentLoadTiming; }
144 const DocumentLoadTiming& timing() const { return m_documentLoadTiming; } 144 const DocumentLoadTiming& timing() const { return m_documentLoadTiming; }
145 145
146 ApplicationCacheHost* applicationCacheHost() const { 146 ApplicationCacheHost* applicationCacheHost() const {
147 return m_applicationCacheHost.get(); 147 return m_applicationCacheHost.get();
148 } 148 }
149 149
150 void clearRedirectChain(); 150 void clearRedirectChain();
151 void appendRedirect(const KURL&); 151 void appendRedirect(const KURL&);
152 void prependRedirect(const KURL&);
152 153
153 ContentSecurityPolicy* releaseContentSecurityPolicy() { 154 ContentSecurityPolicy* releaseContentSecurityPolicy() {
154 return m_contentSecurityPolicy.release(); 155 return m_contentSecurityPolicy.release();
155 } 156 }
156 157
157 ClientHintsPreferences& clientHintsPreferences() { 158 ClientHintsPreferences& clientHintsPreferences() {
158 return m_clientHintsPreferences; 159 return m_clientHintsPreferences;
159 } 160 }
160 161
161 struct InitialScrollState { 162 struct InitialScrollState {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // Used to protect against reentrancy into dataReceived(). 281 // Used to protect against reentrancy into dataReceived().
281 bool m_inDataReceived; 282 bool m_inDataReceived;
282 RefPtr<SharedBuffer> m_dataBuffer; 283 RefPtr<SharedBuffer> m_dataBuffer;
283 }; 284 };
284 285
285 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); 286 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader);
286 287
287 } // namespace blink 288 } // namespace blink
288 289
289 #endif // DocumentLoader_h 290 #endif // DocumentLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698