Move the chromeHidden.toJSON paranoia out of event.js and into json.js, a new
and much smaller file. Having it in event.js means the heavyweight Event class
needs to be eagerly required on extension startup. Now, only json.js does.

R=koz@chromium.org
TBR=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12287011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183365 0039d316-1c4b-4281-b951-d872f2087c98
9 files changed