Index: content/child/npapi/webplugin_delegate.h |
diff --git a/content/child/npapi/webplugin_delegate.h b/content/child/npapi/webplugin_delegate.h |
index 8f13c8d80d2ad33ce021ad1a4e9b724e6dd489e4..c18eb762add1e3db05c69b86089817d5b3040cbd 100644 |
--- a/content/child/npapi/webplugin_delegate.h |
+++ b/content/child/npapi/webplugin_delegate.h |
@@ -87,65 +87,8 @@ class WebPluginDelegate { |
// Returns false if the value is not available. |
virtual bool GetFormValue(base::string16* value) = 0; |
- // Receives notification about a resource load that the plugin initiated |
- // for a frame. |
- virtual void DidFinishLoadWithReason(const GURL& url, NPReason reason, |
- int notify_id) = 0; |
- |
// Returns the process id of the process that is running the plugin. |
virtual int GetProcessId() = 0; |
- |
- // The result, UTF-8 encoded, of the script execution is returned via this |
- // function. |
- virtual void SendJavaScriptStream(const GURL& url, |
- const std::string& result, |
- bool success, |
- int notify_id) = 0; |
- |
- // Receives notification about data being available. |
- virtual void DidReceiveManualResponse(const GURL& url, |
- const std::string& mime_type, |
- const std::string& headers, |
- uint32 expected_length, |
- uint32 last_modified) = 0; |
- |
- // Receives the data. |
- virtual void DidReceiveManualData(const char* buffer, int length) = 0; |
- |
- // Indicates end of data load. |
- virtual void DidFinishManualLoading() = 0; |
- |
- // Indicates a failure in data receipt. |
- virtual void DidManualLoadFail() = 0; |
- |
- // Creates a WebPluginResourceClient instance and returns the same. |
- virtual WebPluginResourceClient* CreateResourceClient( |
- unsigned long resource_id, |
- const GURL& url, |
- int notify_id) = 0; |
- |
- // Creates a WebPluginResourceClient instance for an existing stream that is |
- // has become seekable. |
- virtual WebPluginResourceClient* CreateSeekableResourceClient( |
- unsigned long resource_id, int range_request_id) = 0; |
- |
- // Tell the plugin that the given URL should be fetched. This is a result of |
- // loading the plugin data or the plugin calling HandleURLRequest which didn't |
- // end up being routed to another frame or being a javscript:// URL. |
- virtual void FetchURL(unsigned long resource_id, |
- int notify_id, |
- const GURL& url, |
- const GURL& first_party_for_cookies, |
- const std::string& method, |
- const char* buf, |
- unsigned int len, |
- const Referrer& referrer, |
- bool notify_redirects, |
- bool is_plugin_src_load, |
- int origin_pid, |
- int render_frame_id, |
- int render_view_id) = 0; |
- |
}; |
} // namespace content |