Translate: cleanup on how to pass api key to the script
Now that translate.js runs in an isolated world, it is safe to expose API key as an isolated world global variable. Of course, reusing this key outside Chrome is not permitted if it's possible:) BUG=none TEST=browser_tests --gtest_filter='Translate*.*' Review URL: https://chromiumcodereview.appspot.com/22645015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217777 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment