DescriptionTranslate: 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*.*'
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217777
Patch Set 1 #
Total comments: 2
Patch Set 2 : (rebase) #Patch Set 3 : not delete but assign undefined #Patch Set 4 : (rebase) #
Messages
Total messages: 12 (0 generated)
|