summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/pepper/url_response_info_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/renderer/pepper/url_response_info_util.h')
-rw-r--r--chromium/content/renderer/pepper/url_response_info_util.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/chromium/content/renderer/pepper/url_response_info_util.h b/chromium/content/renderer/pepper/url_response_info_util.h
index d7570627ed0..a4996086e40 100644
--- a/chromium/content/renderer/pepper/url_response_info_util.h
+++ b/chromium/content/renderer/pepper/url_response_info_util.h
@@ -5,8 +5,6 @@
#ifndef CONTENT_RENDERER_PEPPER_URL_RESPONSE_INFO_UTIL_H_
#define CONTENT_RENDERER_PEPPER_URL_RESPONSE_INFO_UTIL_H_
-#include "base/callback.h"
-#include "ppapi/c/pp_instance.h"
#include "ppapi/shared_impl/url_response_info_data.h"
namespace blink {
@@ -14,18 +12,9 @@ class WebURLResponse;
}
namespace content {
-class RendererPpapiHostImpl;
-typedef base::Callback<void(const ppapi::URLResponseInfoData&)>
- DataFromWebURLResponseCallback;
-
-// The returned object will have one plugin reference to the "body_as_file_ref"
-// if it's non-null. It's expected that the result of this function will be
-// passed to the plugin.
-void DataFromWebURLResponse(RendererPpapiHostImpl* host_impl,
- PP_Instance pp_instance,
- const blink::WebURLResponse& response,
- const DataFromWebURLResponseCallback& callback);
+ppapi::URLResponseInfoData DataFromWebURLResponse(
+ const blink::WebURLResponse& response);
} // namespace content