Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: chrome/android/java/AndroidManifest.xml

Issue 2098263002: [Offline Page]Making mhtml file recognized as openable by Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tryout
Patch Set: Enable open file from ShareIt Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index 295d3ddcbe35c50aa2e2cdad04f7e46a3e1da0df..fb70442f4f802bf05a9b526bbf80ce5e69bf65e6 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -188,7 +188,26 @@ by a child template that "extends" this file.
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
- <data android:scheme="file" android:mimeType="multipart/related"/>
+ <data android:mimeType="multipart/related"/>
+ </intent-filter>
+ <intent-filter>
dewittj 2016/07/25 20:13:26 nit: I don't think this file should have tabs in i
Vivian 2016/07/25 21:51:44 Done.
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <data android:scheme="file"/>
+ <data android:scheme="content"/>
+ <data android:host="*" />
+ <data android:pathPattern=".*\\.mhtml"/>
dewittj 2016/07/25 20:13:26 also maybe include .mht and .eml?
Vivian 2016/07/25 21:51:44 I added .mht and .eml. Not sure if .eml is actuall
+ </intent-filter>
+ <intent-filter>
dewittj 2016/07/25 20:13:26 duplicate section?
Vivian 2016/07/25 21:51:44 These two sections differ in the line <data androi
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <data android:scheme="file"/>
+ <data android:scheme="content"/>
+ <data android:host="*" />
+ <data android:mimeType="*/*"/>
+ <data android:pathPattern=".*\\.mhtml"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MEDIA_SEARCH" />
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698