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

Side by Side Diff: chrome/android/java/AndroidManifest.xml

Issue 1635143002: android: Add template to export sandboxed service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: default 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <!-- 6 <!--
7 Note: This is a jinja2 template, processed at build time into the final manifest . 7 Note: This is a jinja2 template, processed at build time into the final manifest .
8 8
9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden 9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden
10 by a child template that "extends" this file. 10 by a child template that "extends" this file.
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 <!-- NOTE: If you change the value of "android:process" for the below se rvices, 617 <!-- NOTE: If you change the value of "android:process" for the below se rvices,
618 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. --> 618 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. -->
619 {% set num_sandboxed_services = 20 %} 619 {% set num_sandboxed_services = 20 %}
620 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES" 620 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES"
621 android:value="{{ num_sandboxed_services }}"/> 621 android:value="{{ num_sandboxed_services }}"/>
622 {% for i in range(num_sandboxed_services) %} 622 {% for i in range(num_sandboxed_services) %}
623 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}" 623 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}"
624 android:process=":sandboxed_process{{ i }}" 624 android:process=":sandboxed_process{{ i }}"
625 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE" 625 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE"
626 android:isolatedProcess="true" 626 android:isolatedProcess="true"
627 android:exported="false" /> 627 android:exported="{{sandboxed_service_exported|default(false)}}"
628 {% if (sandboxed_service_exported|default(false)) == 'true' %}
629 tools:ignore="ExportedService"
630 {% endif %}
631 {{sandboxed_service_extra_flags|default('')}} />
628 {% endfor %} 632 {% endfor %}
629 633
630 {% set num_privileged_services = 3 %} 634 {% set num_privileged_services = 3 %}
631 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES" 635 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES"
632 android:value="{{ num_privileged_services }}"/> 636 android:value="{{ num_privileged_services }}"/>
633 {% for i in range(num_privileged_services) %} 637 {% for i in range(num_privileged_services) %}
634 {% set privileged_process_name = ':privileged_process%d' % i %} 638 {% set privileged_process_name = ':privileged_process%d' % i %}
635 <!-- TODO(tedchoc): Omit this for release builds as MultiDex is debug on ly. --> 639 <!-- TODO(tedchoc): Omit this for release builds as MultiDex is debug on ly. -->
636 <meta-data android:name="{{ manifest_package }}{{ privileged_process_nam e }}.ignore_multidex" 640 <meta-data android:name="{{ manifest_package }}{{ privileged_process_nam e }}.ignore_multidex"
637 android:value="true" /> 641 android:value="true" />
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 choose the first MediaRouteController that can play it, so the orde r of the list can be important. 710 choose the first MediaRouteController that can play it, so the orde r of the list can be important.
707 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. 711 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones.
708 The downstream manifest replaces this block, and hence replaces the list of media route 712 The downstream manifest replaces this block, and hence replaces the list of media route
709 controllers with its own list. --> 713 controllers with its own list. -->
710 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" 714 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS"
711 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> 715 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/>
712 716
713 {% endblock %} 717 {% endblock %}
714 </application> 718 </application>
715 </manifest> 719 </manifest>
OLDNEW
« 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