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

Unified Diff: webkit/child/resource_loader_bridge.h

Issue 109283006: Redirect HTML resource bytes directly to parser thread (Chrome side CL) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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: webkit/child/resource_loader_bridge.h
diff --git a/webkit/child/resource_loader_bridge.h b/webkit/child/resource_loader_bridge.h
index e1cd310fd33d2659d94b65e4195ed4a6cd672eed..a3fbbdab1468268cb7abd9fb1ba8f4d089501d0a 100644
--- a/webkit/child/resource_loader_bridge.h
+++ b/webkit/child/resource_loader_bridge.h
@@ -33,6 +33,10 @@
#include "webkit/common/resource_response_info.h"
#include "webkit/common/resource_type.h"
+namespace blink {
+class WebThreadedResourceProvider;
+}
+
namespace webkit_glue {
class ResourceRequestBody;
@@ -212,6 +216,12 @@ class ResourceLoaderBridge {
// call to the Start method.
virtual void DidChangePriority(net::RequestPriority new_priority) = 0;
+ // Call this method to request an implementation of
+ // WebThreadedResourceProvider which will be used to interact with the parser
darin (slow to review) 2014/02/11 07:05:00 It seems unnecessary to mention the "parser thread
+ // thread.
+ virtual blink::WebThreadedResourceProvider*
+ CreateThreadedResourceProvider() = 0;
+
// Call this method to load the resource synchronously (i.e., in one shot).
// This is an alternative to the Start method. Be warned that this method
// will block the calling thread until the resource is fully downloaded or an

Powered by Google App Engine
This is Rietveld 408576698