commit | 3f054c2a5289d812e69f56ec613cc3f2179c50d0 | [log] [tgz] |
---|---|---|
author | ricea <ricea@chromium.org> | Fri Nov 13 06:48:22 2015 |
committer | Commit bot <commit-bot@chromium.org> | Fri Nov 13 06:48:59 2015 |
tree | bf7c93e83f494d8a9da03eff7e772d50c9e2bf60 | |
parent | 6456fb606e045e77b4efa9e8058dcd86209d992a [diff] |
Factor out the string lookup code from registry_controlled_domains The string lookup code used by registry_controlled_domains is generally useful as it provides for efficient lookup of strings in a set with no runtime initialisation overhead. Factor it out into a public LookupStringInFixedSet function and add unit tests. BUG=348877 TEST=net_unittests Review URL: https://codereview.chromium.org/1412343008 Cr-Commit-Position: refs/heads/master@{#359506}