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

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

Issue 1738553002: [ABANDONED] Move multipart/x-mixed-replace related code to ImageResource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@multipart-cleanup-2
Patch Set: Created 4 years, 9 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 : wasScrolledByUser(false) 134 : wasScrolledByUser(false)
135 , didRestoreFromHistory(false) 135 , didRestoreFromHistory(false)
136 { 136 {
137 } 137 }
138 138
139 bool wasScrolledByUser; 139 bool wasScrolledByUser;
140 bool didRestoreFromHistory; 140 bool didRestoreFromHistory;
141 }; 141 };
142 InitialScrollState& initialScrollState() { return m_initialScrollState; } 142 InitialScrollState& initialScrollState() { return m_initialScrollState; }
143 143
144 bool loadingMultipartContent() const;
145
146 Resource* startPreload(Resource::Type, FetchRequest&); 144 Resource* startPreload(Resource::Type, FetchRequest&);
147 145
148 DECLARE_VIRTUAL_TRACE(); 146 DECLARE_VIRTUAL_TRACE();
149 147
150 protected: 148 protected:
151 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&); 149 DocumentLoader(LocalFrame*, const ResourceRequest&, const SubstituteData&);
152 150
153 Vector<KURL> m_redirectChain; 151 Vector<KURL> m_redirectChain;
154 152
155 private: 153 private:
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Used to protect against reentrancy into dataReceived(). 232 // Used to protect against reentrancy into dataReceived().
235 bool m_inDataReceived; 233 bool m_inDataReceived;
236 RefPtr<SharedBuffer> m_dataBuffer; 234 RefPtr<SharedBuffer> m_dataBuffer;
237 }; 235 };
238 236
239 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); 237 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader);
240 238
241 } // namespace blink 239 } // namespace blink
242 240
243 #endif // DocumentLoader_h 241 #endif // DocumentLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageDocument.cpp ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698