Remove --ash-memory-monitor and related code

BUG=340466

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254128 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254128
POSIX: CHECK() that file_util::ScopedFD fulfills promise.

CHECK() that file_util::ScopedFD will actually close the file descriptors.
There are security implications to not doing so, and logging an error is not
enough: file descriptor are security capabilities. Failing to close them is a
failure to revoke access to certain resources, which is heavily relied on in the
code base.

This CL also adds unit tests to file_util::ScopedFD.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254129 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254129
Implement some mothods in SharedWorkerHost and SharedWorkerServiceImpl

BUG=327256

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

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