summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/resource_handler.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 00:30:01 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-17 00:30:01 +0000
commit5f76da88e6734cda22d39adb0f5e4cca27f07690 (patch)
tree86ae8917fe709fdb2d1fb91b3616930bc6755f56 /chrome/browser/renderer_host/resource_handler.h
parente89e638af5f9817cb0bb8eaa82ac7e0f70a9d02e (diff)
downloadchromium_src-5f76da88e6734cda22d39adb0f5e4cca27f07690.zip
chromium_src-5f76da88e6734cda22d39adb0f5e4cca27f07690.tar.gz
chromium_src-5f76da88e6734cda22d39adb0f5e4cca27f07690.tar.bz2
Move response_data_file from ResourceResponseHead to webkit_glue::ResponseInfo
We would like to use the entry response_data_file in ResourceResponseHead (currently in chrome/browser/resource_handler.h) in chrome/renderer. So refactor the member and move it to webkit_glue::ResourceLoaderBridge::ResponsseInfo which is the base class of ResourceResponseHead. Review URL: http://codereview.chromium.org/42199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/resource_handler.h')
-rw-r--r--chrome/browser/renderer_host/resource_handler.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/chrome/browser/renderer_host/resource_handler.h b/chrome/browser/renderer_host/resource_handler.h
index e0713d9..2b843f9 100644
--- a/chrome/browser/renderer_host/resource_handler.h
+++ b/chrome/browser/renderer_host/resource_handler.h
@@ -14,11 +14,6 @@
#include <string>
-#include "build/build_config.h"
-#if defined(OS_POSIX)
-#include "base/file_descriptor_posix.h"
-#endif
-#include "base/platform_file.h"
#include "chrome/common/filter_policy.h"
#include "net/url_request/url_request_status.h"
#include "webkit/glue/resource_loader_bridge.h"
@@ -36,20 +31,6 @@ struct ResourceResponseHead
// Specifies if the resource should be filtered before being displayed
// (insecure resources can be filtered to keep the page secure).
FilterPolicy::Type filter_policy;
-
- // A platform specific handle for a file that carries response data. This
- // entry is used if the resource request is of type ResourceType::MEDIA and
- // the underlying cache layer keeps the response data in a standalone file.
-#if defined(OS_POSIX)
- // If the response data file is available, the file handle is stored in
- // response_data_file.fd, its value is base::kInvalidPlatformFileValue
- // otherwise.
- base::FileDescriptor response_data_file;
-#elif defined(OS_WIN)
- // An asynchronous file handle to the response data file, its value is
- // base::kInvalidPlatformFileValue if the file is not available.
- base::PlatformFile response_data_file;
-#endif
};
// Parameters for a synchronous resource response.