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

Side by Side Diff: Source/core/fetch/ResourceLoader.h

Issue 690793003: Threaded data provider: Support main thread data notifications (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed status=experimental from the flag to make the test pass, until chrome side lands 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 unified diff | Download patch
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 19 matching lines...) Expand all
30 #define ResourceLoader_h 30 #define ResourceLoader_h
31 31
32 #include "core/fetch/ResourceLoaderOptions.h" 32 #include "core/fetch/ResourceLoaderOptions.h"
33 #include "platform/network/ResourceRequest.h" 33 #include "platform/network/ResourceRequest.h"
34 #include "public/platform/WebURLLoader.h" 34 #include "public/platform/WebURLLoader.h"
35 #include "public/platform/WebURLLoaderClient.h" 35 #include "public/platform/WebURLLoaderClient.h"
36 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 38
39 namespace blink { 39 namespace blink {
40 class WebThreadedDataReceiver;
41 }
42
43 namespace blink {
44 40
45 class Resource; 41 class Resource;
46 class KURL; 42 class KURL;
47 class ResourceError; 43 class ResourceError;
48 class ResourceLoaderHost; 44 class ResourceLoaderHost;
49 45
50 class ResourceLoader final : public RefCountedWillBeGarbageCollectedFinalized<Re sourceLoader>, protected WebURLLoaderClient { 46 class ResourceLoader final : public RefCountedWillBeGarbageCollectedFinalized<Re sourceLoader>, protected WebURLLoaderClient {
51 public: 47 public:
52 static PassRefPtrWillBeRawPtr<ResourceLoader> create(ResourceLoaderHost*, Re source*, const ResourceRequest&, const ResourceLoaderOptions&); 48 static PassRefPtrWillBeRawPtr<ResourceLoader> create(ResourceLoaderHost*, Re source*, const ResourceRequest&, const ResourceLoaderOptions&);
53 virtual ~ResourceLoader(); 49 virtual ~ResourceLoader();
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 ResourceLoaderState m_state; 130 ResourceLoaderState m_state;
135 131
136 // Used for sanity checking to make sure we don't experience illegal state 132 // Used for sanity checking to make sure we don't experience illegal state
137 // transitions. 133 // transitions.
138 ConnectionState m_connectionState; 134 ConnectionState m_connectionState;
139 }; 135 };
140 136
141 } 137 }
142 138
143 #endif 139 #endif
OLDNEW
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698