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

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

Issue 1622743005: Introduce background Download process to android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving away from ChildProcessLauncher Created 4 years, 11 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 | content/app/android/download_main.cc » ('j') | content/app/android/download_main.cc » ('J')
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 b21f383843ea300c1ff7495f9142b1e2034eedb8..97a67aa051af5e13b118c671d6e1c462052920be 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -642,6 +642,17 @@ android:value="true" />
android:exported="false" />
{% endfor %}
+ <!-- Background download process, it may outlive chrome if download does not finish
+ when user kills chrome. Once created, the process will manage its own lifecycle.
+ To work around an issue in earlier android versions that a bound service will
+ get killed when chrome goes away, this service will only communicate with the
+ browser process through callbacks. -->
+ <service android:name="org.chromium.content.app.DownloadProcessService"
+ android:process=":download"
+ android:permission="{{ manifest_package }}.permission.CHILD_SERVICE"
+ android:isolatedProcess="false"
+ android:exported="false"/>
+
<receiver android:name="org.chromium.chrome.browser.download.DownloadBroadcastReceiver"
android:exported="false">
<intent-filter>
« no previous file with comments | « no previous file | content/app/android/download_main.cc » ('j') | content/app/android/download_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698