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

Unified Diff: Source/core/loader/DocumentLoader.h

Issue 863113004: Make WebThreadedDataReceiver wrap a Blink-managed object instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix msvc compilation Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/DocumentLoader.h
diff --git a/Source/core/loader/DocumentLoader.h b/Source/core/loader/DocumentLoader.h
index 29897947ea281d943f07b4dfa1a3c4354bcdba10..e0220b6f489fa9decc703bedec5478939056f439 100644
--- a/Source/core/loader/DocumentLoader.h
+++ b/Source/core/loader/DocumentLoader.h
@@ -46,10 +46,6 @@
#include "wtf/RefPtr.h"
namespace blink {
-class WebThreadedDataReceiver;
-}
-
-namespace blink {
class ApplicationCacheHost;
class ArchiveResourceCollection;
class ResourceFetcher;
@@ -58,6 +54,7 @@ namespace blink {
class FrameLoader;
class MHTMLArchive;
class ResourceLoader;
+ class ThreadedDataReceiver;
class DocumentLoader : public RefCounted<DocumentLoader>, private RawResourceClient {
WTF_MAKE_FAST_ALLOCATED;
@@ -117,7 +114,7 @@ namespace blink {
void startLoadingMainResource();
void cancelMainResourceLoad(const ResourceError&);
- void attachThreadedDataReceiver(PassOwnPtr<blink::WebThreadedDataReceiver>);
+ void attachThreadedDataReceiver(PassRefPtrWillBeRawPtr<ThreadedDataReceiver>);
void acceptDataFromThreadedReceiver(const char* data, int dataLength, int encodedDataLength);
DocumentLoadTiming* timing() { return &m_documentLoadTiming; }

Powered by Google App Engine
This is Rietveld 408576698