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_GLUE_WEBURLLOADER_IMPL_H_ | 5 #ifndef WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ |
6 #define WEBKIT_GLUE_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/glue/webkit_glue_export.h" | |
11 | 10 |
12 namespace webkit_glue { | 11 namespace webkit_glue { |
13 | 12 |
14 class WebKitPlatformSupportImpl; | 13 class WebKitPlatformSupportImpl; |
15 | 14 |
16 class WebURLLoaderImpl : public WebKit::WebURLLoader { | 15 class WebURLLoaderImpl : public WebKit::WebURLLoader { |
17 public: | 16 public: |
18 explicit WebURLLoaderImpl(WebKitPlatformSupportImpl* platform); | 17 explicit WebURLLoaderImpl(WebKitPlatformSupportImpl* platform); |
19 virtual ~WebURLLoaderImpl(); | 18 virtual ~WebURLLoaderImpl(); |
20 | 19 |
(...skipping 14 matching lines...) Expand all Loading... |
35 virtual void didChangePriority(WebKit::WebURLRequest::Priority new_priority); | 34 virtual void didChangePriority(WebKit::WebURLRequest::Priority new_priority); |
36 | 35 |
37 private: | 36 private: |
38 class Context; | 37 class Context; |
39 scoped_refptr<Context> context_; | 38 scoped_refptr<Context> context_; |
40 WebKitPlatformSupportImpl* platform_; | 39 WebKitPlatformSupportImpl* platform_; |
41 }; | 40 }; |
42 | 41 |
43 } // namespace webkit_glue | 42 } // namespace webkit_glue |
44 | 43 |
45 #endif // WEBKIT_GLUE_WEBURLLOADER_IMPL_H_ | 44 #endif // WEBKIT_CHILD_WEBURLLOADER_IMPL_H_ |
OLD | NEW |