Revert 235983 "Adding the main function and remaining pieces."

breaks check_perms step

> Adding the main function and remaining pieces.
> 
> BUG=316397
> 
> Review URL: https://codereview.chromium.org/71483003

TBR=iancottrell@chromium.org

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

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