NSS: {EC,RSA}PrivateKey shouldn't call crypto::GetPublicNSSKeySlot or GetPrivateNSSKeySlot.

Make ECPrivateKey use PK11_GetInternalKeySlot for temporary keys.
Make ECPrivateKey and RSAPrivateKey "sensitive" functions take slot as parameter.

This avoids calling non-thread-safe functions in nss_util on arbitrary threads.

Also removes the ANNOTATE_SCOPED_MEMORY_LEAK from RSAPrivateKey which should no longer be necessary.

BUG=125848,34742

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234726 0039d316-1c4b-4281-b951-d872f2087c98
Convert extensions::EventRouter from Profile to BrowserContext

This is part of the AppShell extensions refactor project.

BUG=316367
TEST=browser_tests, unit_tests
TBR=dmazzoni@chromium.org for file renames in chrome/browser/speech

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

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