summaryrefslogtreecommitdiffstats
path: root/chrome/common/resource_dispatcher.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 05:19:13 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 05:19:13 +0000
commit61b4a61bf1ea2a610c076cb28de59aa1137b3c4f (patch)
tree4a2b6465bcea096b8410c1e0a5dbb279fa34c1ba /chrome/common/resource_dispatcher.h
parent4e5ae20ff403cdcd14d3b86b18a0d0bcec2f47cc (diff)
downloadchromium_src-61b4a61bf1ea2a610c076cb28de59aa1137b3c4f.zip
chromium_src-61b4a61bf1ea2a610c076cb28de59aa1137b3c4f.tar.gz
chromium_src-61b4a61bf1ea2a610c076cb28de59aa1137b3c4f.tar.bz2
Revert 60378 (trying to track down http://crbug.com/56752 )- Flesh out URLLoader's download_to_file function.
* tie the lifetime of the resulting temp file to the lifetime of the URLLoader (the plan is to later extend the lifetime of the temp file to support xhr.responseBlob) * make it work in test_shell * make it work for sync requests * added OnDataDownloaded messages to report progress A related BlobURL loading change. * grab a reference to the blob early on to ensure it's still there when the 'job' is finally started. TEST=manual and deletable_file_reference_unittest.cc BUG=52486 Review URL: http://codereview.chromium.org/3165062 TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/3455022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/resource_dispatcher.h')
-rw-r--r--chrome/common/resource_dispatcher.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/common/resource_dispatcher.h b/chrome/common/resource_dispatcher.h
index 77e08ac..e2a2de0 100644
--- a/chrome/common/resource_dispatcher.h
+++ b/chrome/common/resource_dispatcher.h
@@ -82,10 +82,6 @@ class ResourceDispatcher {
};
typedef base::hash_map<int, PendingRequestInfo> PendingRequestList;
- // Helper to lookup the info based on the request_id.
- // May return NULL if the request as been canceled from the client side.
- PendingRequestInfo* GetPendingRequestInfo(int request_id);
-
// Message response handlers, called by the message handler for this process.
void OnUploadProgress(
const IPC::Message& message,
@@ -104,10 +100,6 @@ class ResourceDispatcher {
int request_id,
base::SharedMemoryHandle data,
int data_len);
- void OnDownloadedData(
- const IPC::Message& message,
- int request_id,
- int data_len);
void OnRequestComplete(
int request_id,
const URLRequestStatus& status,