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

Unified Diff: public/platform/WebURLLoader.h

Issue 100563004: Redirect HTML resource bytes directly to parser thread (Blink side CL) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_decodermove
Patch Set: Missing include Created 7 years 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: public/platform/WebURLLoader.h
diff --git a/public/platform/WebURLLoader.h b/public/platform/WebURLLoader.h
index e183a32104018f69dca07a9600f50054b9e64edd..804f48bb60d6a1246049e6153d3835493bbb2d03 100644
--- a/public/platform/WebURLLoader.h
+++ b/public/platform/WebURLLoader.h
@@ -37,6 +37,7 @@
namespace blink {
class WebData;
+class WebParserResourceBridge;
class WebURLLoaderClient;
class WebURLResponse;
struct WebURLError;
@@ -69,6 +70,10 @@ public:
// its previous value. For example, a preload request starts with low
// priority, but may increase when the resource is needed for rendering.
virtual void didChangePriority(WebURLRequest::Priority newPriority) { }
+
+ // Request an object implementing WebParserResourceBridge which will be
+ // used to interact with the parser thread.
+ virtual WebParserResourceBridge* constructParserResourceBridge() { return 0; }
abarth-chromium 2013/12/18 18:28:49 At this layer, I'm not sure it makes sense to have
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698