OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 14 matching lines...) Expand all Loading... |
25 #endif | 25 #endif |
26 #include "base/file_path.h" | 26 #include "base/file_path.h" |
27 #include "base/memory/ref_counted.h" | 27 #include "base/memory/ref_counted.h" |
28 #include "base/memory/scoped_ptr.h" | 28 #include "base/memory/scoped_ptr.h" |
29 #include "base/platform_file.h" | 29 #include "base/platform_file.h" |
30 #include "base/time.h" | 30 #include "base/time.h" |
31 #include "base/values.h" | 31 #include "base/values.h" |
32 #include "googleurl/src/gurl.h" | 32 #include "googleurl/src/gurl.h" |
33 #include "net/base/host_port_pair.h" | 33 #include "net/base/host_port_pair.h" |
34 #include "net/url_request/url_request_status.h" | 34 #include "net/url_request/url_request_status.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" |
36 #include "webkit/glue/resource_type.h" | 36 #include "webkit/glue/resource_type.h" |
37 #include "webkit/glue/webkit_glue_export.h" | 37 #include "webkit/glue/webkit_glue_export.h" |
38 | 38 |
39 namespace net { | 39 namespace net { |
40 class HttpResponseHeaders; | 40 class HttpResponseHeaders; |
41 } | 41 } |
42 | 42 |
43 namespace webkit_glue { | 43 namespace webkit_glue { |
44 | 44 |
45 // Structure containing timing information for the request. It addresses | 45 // Structure containing timing information for the request. It addresses |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 // methods may be called to construct the body of the request. | 395 // methods may be called to construct the body of the request. |
396 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); | 396 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); |
397 | 397 |
398 private: | 398 private: |
399 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); | 399 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); |
400 }; | 400 }; |
401 | 401 |
402 } // namespace webkit_glue | 402 } // namespace webkit_glue |
403 | 403 |
404 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ | 404 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ |
OLD | NEW |