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

Side by Side Diff: content/child/web_url_loader_impl.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, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 5 #ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 6 #define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "third_party/WebKit/public/platform/WebURLLoader.h" 10 #include "third_party/WebKit/public/platform/WebURLLoader.h"
(...skipping 24 matching lines...) Expand all
35 const blink::WebURLRequest& request, 35 const blink::WebURLRequest& request,
36 blink::WebURLResponse& response, 36 blink::WebURLResponse& response,
37 blink::WebURLError& error, 37 blink::WebURLError& error,
38 blink::WebData& data); 38 blink::WebData& data);
39 virtual void loadAsynchronously( 39 virtual void loadAsynchronously(
40 const blink::WebURLRequest& request, 40 const blink::WebURLRequest& request,
41 blink::WebURLLoaderClient* client); 41 blink::WebURLLoaderClient* client);
42 virtual void cancel(); 42 virtual void cancel();
43 virtual void setDefersLoading(bool value); 43 virtual void setDefersLoading(bool value);
44 virtual void didChangePriority(blink::WebURLRequest::Priority new_priority); 44 virtual void didChangePriority(blink::WebURLRequest::Priority new_priority);
45 virtual bool attachThreadedDataReceiver(
46 blink::WebThreadedDataReceiver* threadedDataReceiver);
darin (slow to review) 2014/03/31 17:00:01 nit: threaded_data_receiver
45 47
46 private: 48 private:
47 class Context; 49 class Context;
48 scoped_refptr<Context> context_; 50 scoped_refptr<Context> context_;
49 BlinkPlatformImpl* platform_; 51 BlinkPlatformImpl* platform_;
50 }; 52 };
51 53
52 } // namespace content 54 } // namespace content
53 55
54 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ 56 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698