Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: content/child/npapi/webplugin_delegate.h

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ee9b70e311a22aa50424544fa013ede09f453303 100644
--- a/content/child/npapi/webplugin_delegate.h
+++ b/content/child/npapi/webplugin_delegate.h
@@ -87,11 +87,6 @@ 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;
@@ -99,8 +94,7 @@ class WebPluginDelegate {
// function.
virtual void SendJavaScriptStream(const GURL& url,
const std::string& result,
- bool success,
- int notify_id) = 0;
+ bool success) = 0;
// Receives notification about data being available.
virtual void DidReceiveManualResponse(const GURL& url,
@@ -121,8 +115,7 @@ class WebPluginDelegate {
// Creates a WebPluginResourceClient instance and returns the same.
virtual WebPluginResourceClient* CreateResourceClient(
unsigned long resource_id,
- const GURL& url,
- int notify_id) = 0;
+ const GURL& url) = 0;
// Creates a WebPluginResourceClient instance for an existing stream that is
// has become seekable.
@@ -133,7 +126,6 @@ class WebPluginDelegate {
// 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,

Powered by Google App Engine
This is Rietveld 408576698