| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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, which also provides a factory method Create | 7 // implemented by the embedder, which also provides a factory method Create |
| 8 // to instantiate this object. | 8 // to instantiate this object. |
| 9 // | 9 // |
| 10 // One of these objects will be created by WebKit for each request. WebKit | 10 // One of these objects will be created by WebKit for each request. WebKit |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #if defined(OS_POSIX) | 21 #if defined(OS_POSIX) |
| 22 #include "base/file_descriptor_posix.h" | 22 #include "base/file_descriptor_posix.h" |
| 23 #endif | 23 #endif |
| 24 #include "base/platform_file.h" | 24 #include "base/platform_file.h" |
| 25 #include "base/ref_counted.h" | 25 #include "base/ref_counted.h" |
| 26 #include "base/time.h" | 26 #include "base/time.h" |
| 27 #include "googleurl/src/gurl.h" | 27 #include "googleurl/src/gurl.h" |
| 28 #include "net/url_request/url_request_status.h" | 28 #include "net/url_request/url_request_status.h" |
| 29 #include "webkit/glue/resource_type.h" | 29 #include "webkit/glue/resource_type.h" |
| 30 | 30 |
| 31 class WebFrame; | |
| 32 | |
| 33 namespace net { | 31 namespace net { |
| 34 class HttpResponseHeaders; | 32 class HttpResponseHeaders; |
| 35 } | 33 } |
| 36 | 34 |
| 37 class FilePath; | 35 class FilePath; |
| 38 | 36 |
| 39 namespace webkit_glue { | 37 namespace webkit_glue { |
| 40 | 38 |
| 41 class ResourceLoaderBridge { | 39 class ResourceLoaderBridge { |
| 42 public: | 40 public: |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 // construction must go through Create() | 222 // construction must go through Create() |
| 225 ResourceLoaderBridge(); | 223 ResourceLoaderBridge(); |
| 226 | 224 |
| 227 private: | 225 private: |
| 228 DISALLOW_EVIL_CONSTRUCTORS(ResourceLoaderBridge); | 226 DISALLOW_EVIL_CONSTRUCTORS(ResourceLoaderBridge); |
| 229 }; | 227 }; |
| 230 | 228 |
| 231 } // namespace webkit_glue | 229 } // namespace webkit_glue |
| 232 | 230 |
| 233 #endif // RESOURCE_LOADER_BRIDGE_ | 231 #endif // RESOURCE_LOADER_BRIDGE_ |
| OLD | NEW |