WriteCallback函数后代码流程

起始页运行时,从curl的writecallback函数到htmltokenizer中的write为止。

 

BCResourceHandleManagerCurl.cpp:writeCallback()
-->ResourceLoader.cpp:didReceiveData(ResourceHandle*, const char* data, int length, int lengthReceived)
   -->MainResourceLoader.cpp:didReceiveData(const char* data, int length, long long lengthReceived, bool allAtOnce)
      -->ResourceLoader.cpp:didReceiveData(const char* data, int length, long long lengthReceived, bool allAtOnce)
          -->MainResourceLoader.cpp:addData(const char* data, int length, bool allAtOnce)
             -->ResourceLoader.cpp:addData(const char* data, int length, bool allAtOnce)
             -->FrameLoader.cpp:receivedData(const char* data, int length)
                 -->DocumentLoader.cpp:receivedData(const char* data,int length)
                    -->DocumentLoader.cpp:commitLoad(const char*ata,int lenght)
                       -->FrameLoader.cpp:committedLoad(DocumentLoader* loader, const char* data, int length)
                           -->WebFrameLoaderClient.cpp:committedLoad(DocumentLoader* loader, const char* data, int length)
                               -->WebFrameLoaderClient.cpp:receivedData(const char* data, int length, const String& textEncoding)
                                       -->DocumentWriter.cpp:addData(const char* str, int len, bool flush)
                                           -->TextResourceDecoder.cpp:decode(const char* data, size_t len)
                                           -->HTMLTokenizer.cpp:write(const SegmentedString& str, bool appendData)

你可能感兴趣的:(WriteCallback函数后代码流程)