[Android WebView] Make loading of V8 data compatible with child services
commitd6920a68b6d5d7bf4705945539f6fceaf0fe570f
authormnaganov <mnaganov@chromium.org>
Tue, 25 Aug 2015 17:20:31 +0000 (25 10:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Aug 2015 17:21:13 +0000 (25 17:21 +0000)
treed2f96d4da7f0f78ea3b5bc9303f4e64c6f6e9795
parent113baae9c6a26518fdde8273652ba73981940d84
[Android WebView] Make loading of V8 data compatible with child services

1. Check for the process type when registering apk assets.

2. Fix Gin V8 initializer to allow retrieving of fd & region of
   the mapped V8 files inside child_process_launcher.

3. There is no need to map icudtl specifically from WebView code since
   http://crrev.com/335261

BUG=522205

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

Cr-Commit-Position: refs/heads/master@{#345362}
android_webview/lib/main/aw_main_delegate.cc
gin/v8_initializer.cc