Sanitize app package names for DictionaryValue

DictionaryValue doesn't like receiving keys that have "." in them
and treats them like paths in the dictionary.  Replace "." with
" " since they are legal for dictionaries and illegal for real package
names (win/win).

BUG=341556

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255077 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255077
[Android] Complete the WindowCallbackWrapper methods.

BUG=349378
R=avayvod@chromium.org

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

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