summaryrefslogtreecommitdiffstats
path: root/src/core/renderer_host/user_resource_controller_host.h
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2020-04-30 18:15:04 +0200
committerJüri Valdmann <juri.valdmann@qt.io>2020-05-29 14:37:54 +0200
commit59140fb4903c8d734a3b178217932d34db36e7a4 (patch)
treee183326cbe4eae366ad28705081aa92301923aed /src/core/renderer_host/user_resource_controller_host.h
parentb459fef1112cadd101553ad793c9b5438ecca1c1 (diff)
Delete unused methods in UserResourceControllerHost
Delete registeredScripts and containsUserScript. Change-Id: I0697098c55e5bcad2e0f37b325c0611e3802155a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/renderer_host/user_resource_controller_host.h')
-rw-r--r--src/core/renderer_host/user_resource_controller_host.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/renderer_host/user_resource_controller_host.h b/src/core/renderer_host/user_resource_controller_host.h
index 9d828feb6..7b89cb893 100644
--- a/src/core/renderer_host/user_resource_controller_host.h
+++ b/src/core/renderer_host/user_resource_controller_host.h
@@ -74,11 +74,9 @@ public:
~UserResourceControllerHost();
void addUserScript(const UserScript &script, WebContentsAdapter *adapter);
- bool containsUserScript(const UserScript &script, WebContentsAdapter *adapter);
bool removeUserScript(const UserScript &script, WebContentsAdapter *adapter);
void clearAllScripts(WebContentsAdapter *adapter);
void reserve(WebContentsAdapter *adapter, int count);
- const QList<UserScript> registeredScripts(WebContentsAdapter *adapter) const;
void renderProcessStartedWithHost(content::RenderProcessHost *renderer);