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

Side by Side Diff: chromecast/browser/android/apk/AndroidManifest.xml.jinja2

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 2
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 8 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
9 package="org.chromium.chromecast.shell"> 9 package="org.chromium.chromecast.shell">
10 10
(...skipping 20 matching lines...) Expand all
31 <action android:name="android.intent.action.MAIN"/> 31 <action android:name="android.intent.action.MAIN"/>
32 <category android:name="android.intent.category.LAUNCHER"/> 32 <category android:name="android.intent.category.LAUNCHER"/>
33 </intent-filter> 33 </intent-filter>
34 </activity> 34 </activity>
35 35
36 <!-- The following service entries exist in order to allow us to 36 <!-- The following service entries exist in order to allow us to
37 start more than one sandboxed process. --> 37 start more than one sandboxed process. -->
38 {% set num_sandboxed_services = 20 %} 38 {% set num_sandboxed_services = 20 %}
39 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES" 39 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES"
40 android:value="{{ num_sandboxed_services }}"/> 40 android:value="{{ num_sandboxed_services }}"/>
41 <meta-data android:name="org.chromium.content.browser.SANDBOXED_SERVICES _NAME"
42 android:value="org.chromium.content.app.SandboxedProcessServi ce"/>
43
41 {% for i in range(num_sandboxed_services) %} 44 {% for i in range(num_sandboxed_services) %}
42 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}" 45 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}"
43 android:process=":sandboxed_process{{ i }}" 46 android:process=":sandboxed_process{{ i }}"
44 android:isolatedProcess="true" 47 android:isolatedProcess="true"
45 android:exported="false" /> 48 android:exported="false" />
46 {% endfor %} 49 {% endfor %}
47 50
48 {% set num_privileged_services = 3 %} 51 {% set num_privileged_services = 3 %}
49 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES" 52 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES"
50 android:value="{{ num_privileged_services }}"/> 53 android:value="{{ num_privileged_services }}"/>
54 <meta-data android:name="org.chromium.content.browser.PRIVILEGED_SERVICE S_NAME"
55 android:value="org.chromium.content.app.PrivilegedProcessServ ice"/>
56
51 {% for i in range(num_privileged_services) %} 57 {% for i in range(num_privileged_services) %}
52 <service android:name="org.chromium.content.app.PrivilegedProcessService {{ i }}" 58 <service android:name="org.chromium.content.app.PrivilegedProcessService {{ i }}"
53 android:process=":privileged_process{{ i }}" 59 android:process=":privileged_process{{ i }}"
54 android:isolatedProcess="false" 60 android:isolatedProcess="false"
55 android:exported="false" /> 61 android:exported="false" />
56 {% endfor %} 62 {% endfor %}
57 </application> 63 </application>
58 64
59 </manifest> 65 </manifest>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698