diff options
author | rob <rob@robwu.nl> | 2016-01-25 11:41:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-25 19:53:47 +0000 |
commit | 889ceeb78a6745727ca8db2d26866a913fe2e02c (patch) | |
tree | 6cd61bb1b115e3d7701e3c33b57ca63658ec2d6b /extensions/renderer | |
parent | 0bbef05dd7107caea30ae4a075b242296bb795aa (diff) | |
download | chromium_src-889ceeb78a6745727ca8db2d26866a913fe2e02c.zip chromium_src-889ceeb78a6745727ca8db2d26866a913fe2e02c.tar.gz chromium_src-889ceeb78a6745727ca8db2d26866a913fe2e02c.tar.bz2 |
Remove unused process_id parameter from permissions_data
The process ID was introduced in crbug.com/220039, and used to protect
the signin process, but this special process was removed as a part of
crbug.com/350202.
There are no other uses for the process ID, so remove it.
BUG=379356
TEST=still compiles
Review URL: https://codereview.chromium.org/1622403002
Cr-Commit-Position: refs/heads/master@{#371282}
Diffstat (limited to 'extensions/renderer')
-rw-r--r-- | extensions/renderer/extension_injection_host.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/extensions/renderer/extension_injection_host.cc b/extensions/renderer/extension_injection_host.cc index 9f520be..8e0d9b3 100644 --- a/extensions/renderer/extension_injection_host.cc +++ b/extensions/renderer/extension_injection_host.cc @@ -67,14 +67,12 @@ PermissionsData::AccessType ExtensionInjectionHost::CanExecuteOnFrame( extension_, document_url, tab_id, - -1, // no process id nullptr /* ignore error */); } else { access = extension_->permissions_data()->GetContentScriptAccess( extension_, document_url, tab_id, - -1, // no process id nullptr /* ignore error */); } if (access == PermissionsData::ACCESS_WITHHELD && |