OLD | NEW |
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/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 blink::WebData& data) override; | 60 blink::WebData& data) override; |
61 void loadAsynchronously( | 61 void loadAsynchronously( |
62 const blink::WebURLRequest& request, | 62 const blink::WebURLRequest& request, |
63 blink::WebURLLoaderClient* client) override; | 63 blink::WebURLLoaderClient* client) override; |
64 void cancel() override; | 64 void cancel() override; |
65 void setDefersLoading(bool value) override; | 65 void setDefersLoading(bool value) override; |
66 void didChangePriority(blink::WebURLRequest::Priority new_priority, | 66 void didChangePriority(blink::WebURLRequest::Priority new_priority, |
67 int intra_priority_value) override; | 67 int intra_priority_value) override; |
68 bool attachThreadedDataReceiver( | 68 bool attachThreadedDataReceiver( |
69 blink::WebThreadedDataReceiver* threaded_data_receiver) override; | 69 blink::WebThreadedDataReceiver* threaded_data_receiver) override; |
| 70 void setLoadingTaskRunner(blink::WebTaskRunner* loading_task_runner) override; |
70 | 71 |
71 private: | 72 private: |
72 class Context; | 73 class Context; |
73 scoped_refptr<Context> context_; | 74 scoped_refptr<Context> context_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); | 76 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace content | 79 } // namespace content |
79 | 80 |
80 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ | 81 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ |
OLD | NEW |