summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/web_ui_injection_host.cc
diff options
context:
space:
mode:
authorrdevlin.cronin <rdevlin.cronin@chromium.org>2015-10-01 19:23:52 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-02 02:24:51 +0000
commitb03d157b56bbd403039a295de37a81f01cf0554d (patch)
tree468feed341c137b0653b31b61ccc9e547db254e8 /extensions/renderer/web_ui_injection_host.cc
parentef3c7bdf834f04a1d0df6bba9c20f4436c877ee2 (diff)
downloadchromium_src-b03d157b56bbd403039a295de37a81f01cf0554d.zip
chromium_src-b03d157b56bbd403039a295de37a81f01cf0554d.tar.gz
chromium_src-b03d157b56bbd403039a295de37a81f01cf0554d.tar.bz2
[Extensions] Remove ActivityLog tie in to ActiveScriptController
The activity log has had functionality reduced, but this piece was left in. Clean up. Review URL: https://codereview.chromium.org/1374343003 Cr-Commit-Position: refs/heads/master@{#351939}
Diffstat (limited to 'extensions/renderer/web_ui_injection_host.cc')
-rw-r--r--extensions/renderer/web_ui_injection_host.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/renderer/web_ui_injection_host.cc b/extensions/renderer/web_ui_injection_host.cc
index 799f3fa..1fd4364 100644
--- a/extensions/renderer/web_ui_injection_host.cc
+++ b/extensions/renderer/web_ui_injection_host.cc
@@ -32,9 +32,3 @@ extensions::PermissionsData::AccessType WebUIInjectionHost::CanExecuteOnFrame(
// Content scripts are allowed to inject on webviews created by WebUI.
return extensions::PermissionsData::AccessType::ACCESS_ALLOWED;
}
-
-bool WebUIInjectionHost::ShouldNotifyBrowserOfInjection() const {
- // We don't notify browser of any injection made from WebUI, since the
- // decision for injection is made in the render.
- return false;
-}