diff options
author | Iain Merrick <husky@google.com> | 2010-10-21 16:29:58 +0100 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-10-22 15:02:03 +0100 |
commit | 28d70d1c88bc8a94e9a6608d68678895e6ea483b (patch) | |
tree | 3f4b7acbfde1f89fee889211a8e78d42d80a6c68 /net/websockets | |
parent | 5c486cf1c3f6db14f83e36301201f2860cdb90ce (diff) | |
download | external_chromium-28d70d1c88bc8a94e9a6608d68678895e6ea483b.zip external_chromium-28d70d1c88bc8a94e9a6608d68678895e6ea483b.tar.gz external_chromium-28d70d1c88bc8a94e9a6608d68678895e6ea483b.tar.bz2 |
Add Android MIME types to Chrome HTTP stack.
This is needed for loading webarchive files, because Android needs
to have the MIME type set correctly. I've uncommented the calls to
PlatformMimeUtil, and implemented this class by calling through to
libcore.net.MimeUtils.
To test, save google.com as a web archive. This should be saved as
/sdcard/Download/index.webarchivexml. Then run this command:
adb shell am start \
-d file:///sdcard/Download/index.webarchivexml \
-n com.android.browser/.BrowserActivity \
-a android.intent.action.VIEW
The browser should load the archived google.com.
Change-Id: I26b3700eb3ec793d8c0602feeb36aea2be9cd23e
Diffstat (limited to 'net/websockets')
0 files changed, 0 insertions, 0 deletions