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 // The intent of this file is to provide a type-neutral abstraction between | 5 // The intent of this file is to provide a type-neutral abstraction between |
6 // Chrome and WebKit for resource loading. This pure-virtual interface is | 6 // Chrome and WebKit for resource loading. This pure-virtual interface is |
7 // implemented by the embedder. | 7 // implemented by the embedder. |
8 // | 8 // |
9 // One of these objects will be created by WebKit for each request. WebKit | 9 // One of these objects will be created by WebKit for each request. WebKit |
10 // will own the pointer to the bridge, and will delete it when the request is | 10 // will own the pointer to the bridge, and will delete it when the request is |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "base/files/file_path.h" | 26 #include "base/files/file_path.h" |
27 #include "base/memory/ref_counted.h" | 27 #include "base/memory/ref_counted.h" |
28 #include "base/platform_file.h" | 28 #include "base/platform_file.h" |
29 #include "base/time.h" | 29 #include "base/time.h" |
30 #include "base/values.h" | 30 #include "base/values.h" |
31 #include "googleurl/src/gurl.h" | 31 #include "googleurl/src/gurl.h" |
32 #include "net/base/host_port_pair.h" | 32 #include "net/base/host_port_pair.h" |
33 #include "net/base/load_timing_info.h" | 33 #include "net/base/load_timing_info.h" |
34 #include "net/base/request_priority.h" | 34 #include "net/base/request_priority.h" |
35 #include "net/url_request/url_request_status.h" | 35 #include "net/url_request/url_request_status.h" |
36 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h
" | 36 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
37 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 37 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
38 #include "webkit/glue/resource_type.h" | 38 #include "webkit/glue/resource_type.h" |
39 #include "webkit/glue/webkit_glue_export.h" | 39 #include "webkit/glue/webkit_glue_export.h" |
40 | 40 |
41 namespace net { | 41 namespace net { |
42 class HttpResponseHeaders; | 42 class HttpResponseHeaders; |
43 } | 43 } |
44 | 44 |
45 namespace webkit_glue { | 45 namespace webkit_glue { |
46 class ResourceRequestBody; | 46 class ResourceRequestBody; |
47 | 47 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 // methods may be called to construct the body of the request. | 326 // methods may be called to construct the body of the request. |
327 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); | 327 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); |
328 | 328 |
329 private: | 329 private: |
330 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); | 330 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); |
331 }; | 331 }; |
332 | 332 |
333 } // namespace webkit_glue | 333 } // namespace webkit_glue |
334 | 334 |
335 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ | 335 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ |
OLD | NEW |