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

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

Issue 2863063002: Making ChildConnectionAllocator simpler. (Closed)
Patch Set: Fixed tests. Created 3 years, 7 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
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 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 848
849 849
850 <!-- The following service entries exist in order to allow us to 850 <!-- The following service entries exist in order to allow us to
851 start more than one sandboxed process. --> 851 start more than one sandboxed process. -->
852 852
853 <!-- NOTE: If you change the value of "android:process" for the below se rvices, 853 <!-- NOTE: If you change the value of "android:process" for the below se rvices,
854 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. --> 854 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. -->
855 {% set num_sandboxed_services = 20 %} 855 {% set num_sandboxed_services = 20 %}
856 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES" 856 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES"
857 android:value="{{ num_sandboxed_services }}"/> 857 android:value="{{ num_sandboxed_services }}"/>
858 <meta-data android:name="org.chromium.content.browser.SANDBOXED_SERVICES _NAME"
859 android:value="org.chromium.content.app.SandboxedProcessService"/>
860
858 {% for i in range(num_sandboxed_services) %} 861 {% for i in range(num_sandboxed_services) %}
859 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}" 862 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}"
860 android:process=":sandboxed_process{{ i }}" 863 android:process=":sandboxed_process{{ i }}"
861 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE" 864 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE"
862 android:isolatedProcess="true" 865 android:isolatedProcess="true"
863 android:exported="{{sandboxed_service_exported|default(false)}}" 866 android:exported="{{sandboxed_service_exported|default(false)}}"
864 {% if (sandboxed_service_exported|default(false)) == 'true' %} 867 {% if (sandboxed_service_exported|default(false)) == 'true' %}
865 android:externalService="true" 868 android:externalService="true"
866 tools:ignore="ExportedService" 869 tools:ignore="ExportedService"
867 {% endif %} 870 {% endif %}
868 {{sandboxed_service_extra_flags|default('')}} /> 871 {{sandboxed_service_extra_flags|default('')}} />
869 {% endfor %} 872 {% endfor %}
870 873
871 {% set num_privileged_services = 3 %} 874 {% set num_privileged_services = 3 %}
872 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES" 875 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES"
873 android:value="{{ num_privileged_services }}"/> 876 android:value="{{ num_privileged_services }}"/>
877 <meta-data android:name="org.chromium.content.browser.PRIVILEGED_SERVICE S_NAME"
878 android:value="org.chromium.content.app.PrivilegedProcessService"/>
879
874 {% for i in range(num_privileged_services) %} 880 {% for i in range(num_privileged_services) %}
875 {% set privileged_process_name = ':privileged_process%d' % i %} 881 {% set privileged_process_name = ':privileged_process%d' % i %}
876 <!-- TODO(tedchoc): Omit this for release builds as MultiDex is debug on ly. --> 882 <!-- TODO(tedchoc): Omit this for release builds as MultiDex is debug on ly. -->
877 <meta-data android:name="{{ manifest_package }}{{ privileged_process_nam e }}.ignore_multidex" 883 <meta-data android:name="{{ manifest_package }}{{ privileged_process_nam e }}.ignore_multidex"
878 android:value="true" /> 884 android:value="true" />
879 <service android:name="org.chromium.content.app.PrivilegedProcessService {{ i }}" 885 <service android:name="org.chromium.content.app.PrivilegedProcessService {{ i }}"
880 android:process="{{ privileged_process_name }}" 886 android:process="{{ privileged_process_name }}"
881 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE" 887 android:permission="{{ manifest_package }}.permission.CHILD_SERVICE"
882 android:isolatedProcess="false" 888 android:isolatedProcess="false"
883 android:exported="false" /> 889 android:exported="false" />
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 choose the first MediaRouteController that can play it, so the orde r of the list can be important. 990 choose the first MediaRouteController that can play it, so the orde r of the list can be important.
985 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. 991 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones.
986 The downstream manifest replaces this block, and hence replaces the list of media route 992 The downstream manifest replaces this block, and hence replaces the list of media route
987 controllers with its own list. --> 993 controllers with its own list. -->
988 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" 994 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS"
989 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> 995 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/>
990 996
991 {% endblock %} 997 {% endblock %}
992 </application> 998 </application>
993 </manifest> 999 </manifest>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698