OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ | 5 #ifndef WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ |
6 #define WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ | 6 #define WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 9 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
10 #include "webkit/child/webkit_child_export.h" | 10 #include "webkit/child/webkit_child_export.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 virtual void loadSynchronously( | 30 virtual void loadSynchronously( |
31 const blink::WebURLRequest& request, | 31 const blink::WebURLRequest& request, |
32 blink::WebURLResponse& response, | 32 blink::WebURLResponse& response, |
33 blink::WebURLError& error, | 33 blink::WebURLError& error, |
34 blink::WebData& data); | 34 blink::WebData& data); |
35 virtual void loadAsynchronously( | 35 virtual void loadAsynchronously( |
36 const blink::WebURLRequest& request, | 36 const blink::WebURLRequest& request, |
37 blink::WebURLLoaderClient* client); | 37 blink::WebURLLoaderClient* client); |
38 virtual void cancel(); | 38 virtual void cancel(); |
39 virtual void setDefersLoading(bool value); | 39 virtual void setDefersLoading(bool value); |
40 virtual void didChangePriority(blink::WebURLRequest::Priority new_priority); | 40 virtual void didChangePriority(blink::WebURLRequest::Priority new_priority, |
| 41 int intra_priority_value); |
41 | 42 |
42 private: | 43 private: |
43 class Context; | 44 class Context; |
44 scoped_refptr<Context> context_; | 45 scoped_refptr<Context> context_; |
45 WebKitPlatformSupportImpl* platform_; | 46 WebKitPlatformSupportImpl* platform_; |
46 }; | 47 }; |
47 | 48 |
48 } // namespace webkit_glue | 49 } // namespace webkit_glue |
49 | 50 |
50 #endif // WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ | 51 #endif // WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ |
OLD | NEW |