Chromium Code Reviews| Index: Source/core/loader/FrameFetchContext.cpp |
| diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp |
| index 387f13a8a254c92d00691e9d297a8cf1cf0019e9..cb5611d35da9bb4d120698089ea1661ffcb7b801 100644 |
| --- a/Source/core/loader/FrameFetchContext.cpp |
| +++ b/Source/core/loader/FrameFetchContext.cpp |
| @@ -135,6 +135,13 @@ void FrameFetchContext::dispatchDidReceiveData(DocumentLoader*, unsigned long id |
| InspectorInstrumentation::didReceiveData(m_frame, identifier, data, dataLength, encodedDataLength); |
| } |
| +void FrameFetchContext::dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, int encodedDataLength) |
| +{ |
| + if (Page* page = m_frame->page()) |
| + page->progress().incrementProgress(identifier, 0, dataLength); |
| + InspectorInstrumentation::didReceiveDataWithoutData(m_frame, identifier, dataLength, encodedDataLength); |
|
yusukesuzuki
2013/09/19 04:23:36
Since it is implementation details that XHR uses t
|
| +} |
| + |
| void FrameFetchContext::dispatchDidFinishLoading(DocumentLoader* loader, unsigned long identifier, double finishTime) |
| { |
| if (Page* page = m_frame->page()) |