Allow matching patterns in ManagedModeURLFilter.

BUG=294480

Review URL: https://codereview.chromium.org/24494004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225502 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225502
Purge memory after every ProxyResolverV8 test.

V8's recompilation thread may hold on to memory, causing the heap
leak checker to report leaks if the V8 isolate is not properly
torn down.  ProxyResolverV8 tests (part of net_unittests) do not
do that.  Unfortunately, doing that in ~ProxyResolverV8 does not
seem to be an option, since it may just use an existing isolate.

This simpler fix simply calls PurgeMemory, which issues a
LowMemoryNotification to V8, having the same effect wrt to flushing.

R=dcarney@chromium.org
BUG=291236

Review URL: https://codereview.chromium.org/24587002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225503 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225503