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

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

Issue 2712833002: DevTools: Show decoded body length for network requests on timeline. (Closed)
Patch Set: rebaseline 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void dispatchDidReceiveData(unsigned long identifier, 100 void dispatchDidReceiveData(unsigned long identifier,
101 const char* data, 101 const char* data,
102 int dataLength) override; 102 int dataLength) override;
103 void dispatchDidReceiveEncodedData(unsigned long identifier, 103 void dispatchDidReceiveEncodedData(unsigned long identifier,
104 int encodedDataLength) override; 104 int encodedDataLength) override;
105 void dispatchDidDownloadData(unsigned long identifier, 105 void dispatchDidDownloadData(unsigned long identifier,
106 int dataLength, 106 int dataLength,
107 int encodedDataLength) override; 107 int encodedDataLength) override;
108 void dispatchDidFinishLoading(unsigned long identifier, 108 void dispatchDidFinishLoading(unsigned long identifier,
109 double finishTime, 109 double finishTime,
110 int64_t encodedDataLength) override; 110 int64_t encodedDataLength,
111 int64_t decodedBodyLength) override;
111 void dispatchDidFail(unsigned long identifier, 112 void dispatchDidFail(unsigned long identifier,
112 const ResourceError&, 113 const ResourceError&,
113 int64_t encodedDataLength, 114 int64_t encodedDataLength,
114 bool isInternalRequest) override; 115 bool isInternalRequest) override;
115 116
116 bool shouldLoadNewResource(Resource::Type) const override; 117 bool shouldLoadNewResource(Resource::Type) const override;
117 void willStartLoadingResource(unsigned long identifier, 118 void willStartLoadingResource(unsigned long identifier,
118 ResourceRequest&, 119 ResourceRequest&,
119 Resource::Type, 120 Resource::Type,
120 const AtomicString& fetchInitiatorName, 121 const AtomicString& fetchInitiatorName,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // FIXME: Oilpan: Ideally this should just be a traced Member but that will 204 // FIXME: Oilpan: Ideally this should just be a traced Member but that will
204 // currently leak because ComputedStyle and its data are not on the heap. 205 // currently leak because ComputedStyle and its data are not on the heap.
205 // See crbug.com/383860 for details. 206 // See crbug.com/383860 for details.
206 WeakMember<Document> m_document; 207 WeakMember<Document> m_document;
207 Member<DocumentLoader> m_documentLoader; 208 Member<DocumentLoader> m_documentLoader;
208 }; 209 };
209 210
210 } // namespace blink 211 } // namespace blink
211 212
212 #endif 213 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698