| 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 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/Platform/chromium/public/WebReferrerPolicy.h
" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" |
| 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h" | |
| 37 #include "webkit/glue/resource_type.h" | 37 #include "webkit/glue/resource_type.h" |
| 38 #include "webkit/glue/webkit_glue_export.h" | 38 #include "webkit/glue/webkit_glue_export.h" |
| 39 | 39 |
| 40 namespace net { | 40 namespace net { |
| 41 class HttpResponseHeaders; | 41 class HttpResponseHeaders; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace webkit_glue { | 44 namespace webkit_glue { |
| 45 | 45 |
| 46 // Structure containing timing information for the request. It addresses | 46 // Structure containing timing information for the request. It addresses |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 // methods may be called to construct the body of the request. | 406 // methods may be called to construct the body of the request. |
| 407 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); | 407 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); |
| 408 | 408 |
| 409 private: | 409 private: |
| 410 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); | 410 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); |
| 411 }; | 411 }; |
| 412 | 412 |
| 413 } // namespace webkit_glue | 413 } // namespace webkit_glue |
| 414 | 414 |
| 415 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ | 415 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ |
| OLD | NEW |