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/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 21 matching lines...) Expand all Loading... |
32 virtual void loadSynchronously( | 32 virtual void loadSynchronously( |
33 const blink::WebURLRequest& request, | 33 const blink::WebURLRequest& request, |
34 blink::WebURLResponse& response, | 34 blink::WebURLResponse& response, |
35 blink::WebURLError& error, | 35 blink::WebURLError& error, |
36 blink::WebData& data); | 36 blink::WebData& data); |
37 virtual void loadAsynchronously( | 37 virtual void loadAsynchronously( |
38 const blink::WebURLRequest& request, | 38 const blink::WebURLRequest& request, |
39 blink::WebURLLoaderClient* client); | 39 blink::WebURLLoaderClient* client); |
40 virtual void cancel(); | 40 virtual void cancel(); |
41 virtual void setDefersLoading(bool value); | 41 virtual void setDefersLoading(bool value); |
42 virtual void didChangePriority(blink::WebURLRequest::Priority new_priority); | 42 virtual void didChangePriority(blink::WebURLRequest::Priority new_priority, |
| 43 int intra_priority_value); |
43 | 44 |
44 private: | 45 private: |
45 class Context; | 46 class Context; |
46 scoped_refptr<Context> context_; | 47 scoped_refptr<Context> context_; |
47 }; | 48 }; |
48 | 49 |
49 } // namespace content | 50 } // namespace content |
50 | 51 |
51 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ | 52 #endif // CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ |
OLD | NEW |