summaryrefslogtreecommitdiffstats
path: root/net/websockets
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-10-21 16:29:58 +0100
committerIain Merrick <husky@google.com>2010-10-22 15:02:03 +0100
commit28d70d1c88bc8a94e9a6608d68678895e6ea483b (patch)
tree3f4b7acbfde1f89fee889211a8e78d42d80a6c68 /net/websockets
parent5c486cf1c3f6db14f83e36301201f2860cdb90ce (diff)
downloadexternal_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