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

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

Issue 2533683002: Move the code in ResourceFetcher handling calls from WebURLLoaderImpl to ResourceLoader (Closed)
Patch Set: Fixed a bug in resource timing population Created 4 years 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 NavigationType getNavigationType() const { return m_navigationType; } 133 NavigationType getNavigationType() const { return m_navigationType; }
134 void setNavigationType(NavigationType navigationType) { 134 void setNavigationType(NavigationType navigationType) {
135 m_navigationType = navigationType; 135 m_navigationType = navigationType;
136 } 136 }
137 137
138 void upgradeInsecureRequest(); 138 void upgradeInsecureRequest();
139 139
140 void startLoadingMainResource(); 140 void startLoadingMainResource();
141 141
142 void acceptDataFromThreadedReceiver(const char* data,
143 int dataLength,
144 int encodedDataLength);
145 DocumentLoadTiming& timing() { return m_documentLoadTiming; } 142 DocumentLoadTiming& timing() { return m_documentLoadTiming; }
146 const DocumentLoadTiming& timing() const { return m_documentLoadTiming; } 143 const DocumentLoadTiming& timing() const { return m_documentLoadTiming; }
147 144
148 ApplicationCacheHost* applicationCacheHost() const { 145 ApplicationCacheHost* applicationCacheHost() const {
149 return m_applicationCacheHost.get(); 146 return m_applicationCacheHost.get();
150 } 147 }
151 148
152 void clearRedirectChain(); 149 void clearRedirectChain();
153 void appendRedirect(const KURL&); 150 void appendRedirect(const KURL&);
154 151
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // Used to protect against reentrancy into dataReceived(). 282 // Used to protect against reentrancy into dataReceived().
286 bool m_inDataReceived; 283 bool m_inDataReceived;
287 RefPtr<SharedBuffer> m_dataBuffer; 284 RefPtr<SharedBuffer> m_dataBuffer;
288 }; 285 };
289 286
290 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader); 287 DECLARE_WEAK_IDENTIFIER_MAP(DocumentLoader);
291 288
292 } // namespace blink 289 } // namespace blink
293 290
294 #endif // DocumentLoader_h 291 #endif // DocumentLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698