summaryrefslogtreecommitdiffstats
path: root/extensions/utility
diff options
context:
space:
mode:
authormmenke <mmenke@chromium.org>2015-06-08 11:50:44 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-08 18:52:04 +0000
commit4815484ddc1a571485b15fad2f1409efe5281edd (patch)
treeed01ce4163fa65198cb71efe2e4e9a30d7a64e99 /extensions/utility
parent32fff1424c5fa41b99bc50cb3c6713e3430e7ef9 (diff)
downloadchromium_src-4815484ddc1a571485b15fad2f1409efe5281edd.zip
chromium_src-4815484ddc1a571485b15fad2f1409efe5281edd.tar.gz
chromium_src-4815484ddc1a571485b15fad2f1409efe5281edd.tar.bz2
Unify code to deal with restricted ports.
Replace IsPortAllowedByDefault(), IsPortAllowedByFtp(), and IsPortAllowedByOverride() with IsPortAllowedForScheme(). Previously, consumers had to wrangle their way through the methods. One method makes things simpler, and consumers now have to explicitly opt into or out of the override option. BUG=475766 Review URL: https://codereview.chromium.org/1163463004 Cr-Commit-Position: refs/heads/master@{#333305}
Diffstat (limited to 'extensions/utility')
0 files changed, 0 insertions, 0 deletions