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

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

Issue 22914014: Add more control over sync for Chromium testshell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated from CL this depends on. Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 2
3 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 4
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 8
9 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 9 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
10 package="org.chromium.chrome.testshell"> 10 package="org.chromium.chrome.testshell">
11 11
12 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" />
12 <permission android:name="org.chromium.chrome.testshell.permission.SANDBOX" 13 <permission android:name="org.chromium.chrome.testshell.permission.SANDBOX"
13 android:protectionLevel="signature" /> 14 android:protectionLevel="signature" />
15 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
16 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
17 <uses-permission android:name="android.permission.CAMERA" />
18 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
19 <uses-permission android:name="android.permission.INTERNET"/>
20 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
21 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
22 <uses-permission android:name="android.permission.VIBRATE"/>
23 <uses-permission android:name="android.permission.WAKE_LOCK"/>
24 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
25 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
26 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
27 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
28 <!-- Only Chrome can receive the messages and registration result for GCM -- >
29 <permission android:name="org.chromium.chrome.testshell.permission.C2D_MESSA GE"
30 android:protectionLevel="signature" />
31 <uses-permission android:name="org.chromium.chrome.testshell.permission.C2D_ MESSAGE" />
32 <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" / >
14 33
15 <application android:name="org.chromium.chrome.testshell.ChromiumTestShellAp plication" 34 <application android:name="org.chromium.chrome.testshell.ChromiumTestShellAp plication"
16 android:label="ChromiumTestShell"> 35 android:label="ChromiumTestShell">
17 <activity android:name="org.chromium.chrome.testshell.ChromiumTestShellA ctivity" 36 <activity android:name="org.chromium.chrome.testshell.ChromiumTestShellA ctivity"
18 android:label="ChromiumTestShellActivity" 37 android:label="ChromiumTestShellActivity"
19 android:launchMode="singleTask" 38 android:launchMode="singleTask"
20 android:theme="@android:style/Theme.Holo.Light.NoActionBar" 39 android:theme="@android:style/Theme.Holo.Light.NoActionBar"
21 android:configChanges="orientation|keyboardHidden|keyboard|scr eenSize" 40 android:configChanges="orientation|keyboardHidden|keyboard|scr eenSize"
22 android:hardwareAccelerated="true"> 41 android:hardwareAccelerated="true">
23 <intent-filter> 42 <intent-filter>
24 <action android:name="android.intent.action.MAIN" /> 43 <action android:name="android.intent.action.MAIN" />
25 <category android:name="android.intent.category.LAUNCHER" /> 44 <category android:name="android.intent.category.LAUNCHER" />
26 </intent-filter> 45 </intent-filter>
27 </activity> 46 </activity>
47 <activity android:name="org.chromium.sync.test.util.MockGrantCredentials PermissionActivity"
48 android:exported="true">
49 <intent-filter>
50 <action android:name="android.intent.action.VIEW" />
51 <category android:name="android.intent.category.DEFAULT" />
52 </intent-filter>
53 </activity>
28 <!-- The following service entries exist in order to allow us to 54 <!-- The following service entries exist in order to allow us to
29 start more than one sandboxed process. --> 55 start more than one sandboxed process. -->
30 56
31 <!-- NOTE: If you change the values of "android:process" for any of the below services, 57 <!-- NOTE: If you change the values of "android:process" for any of the below services,
32 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. --> 58 you also need to update kHelperProcessExecutableName in chrome_cons tants.cc. -->
33 <service android:name="org.chromium.content.app.SandboxedProcessService0 " 59 <service android:name="org.chromium.content.app.SandboxedProcessService0 "
34 android:process=":sandboxed_process0" 60 android:process=":sandboxed_process0"
35 android:permission="org.chromium.content_shell.permission.SANDB OX" 61 android:permission="org.chromium.content_shell.permission.SANDB OX"
36 android:isolatedProcess="true" 62 android:isolatedProcess="true"
37 android:exported="false" /> 63 android:exported="false" />
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 android:process=":sandboxed_process11" 115 android:process=":sandboxed_process11"
90 android:permission="org.chromium.content_shell.permission.SANDB OX" 116 android:permission="org.chromium.content_shell.permission.SANDB OX"
91 android:isolatedProcess="true" 117 android:isolatedProcess="true"
92 android:exported="false" /> 118 android:exported="false" />
93 <service android:name="org.chromium.content.app.SandboxedProcessService1 2" 119 <service android:name="org.chromium.content.app.SandboxedProcessService1 2"
94 android:process=":sandboxed_process12" 120 android:process=":sandboxed_process12"
95 android:permission="org.chromium.content_shell.permission.SANDB OX" 121 android:permission="org.chromium.content_shell.permission.SANDB OX"
96 android:isolatedProcess="true" 122 android:isolatedProcess="true"
97 android:exported="false" /> 123 android:exported="false" />
98 124
125 <!-- Receiver for GCM messages. Rebroadcasts them locally for sync. -->
126 <receiver android:exported="true"
127 android:name="com.google.ipc.invalidation.external.client.cont rib.MultiplexingGcmListener$GCMReceiver"
128 android:permission="com.google.android.c2dm.permission.SEND">
129 <intent-filter>
130 <action android:name="com.google.android.c2dm.intent.RECEIVE" />
131 <action android:name="com.google.android.c2dm.intent.REGISTRATIO N" />
132 <category android:name="org.chromium.chrome.testshell"/>
133 </intent-filter>
134 </receiver>
135 <service android:exported="false"
136 android:name="com.google.ipc.invalidation.external.client.contr ib.MultiplexingGcmListener">
137 <meta-data android:name="sender_ids"
138 android:value="cloudprint.c2dm@gmail.com,ipc.invalidation @gmail.com"/>
139 </service>
140
141 <!-- Notification service for sync. -->
142 <meta-data android:name="ipc.invalidation.ticl.listener_service_class"
143 android:value="org.chromium.sync.notifier.InvalidationService "/>
144 <service android:name="org.chromium.sync.notifier.InvalidationService"
145 android:exported="false">
146 <intent-filter>
147 <action android:name="com.google.ipc.invalidation.AUTH_TOKEN_REQ UEST"/>
148 </intent-filter>
149 </service>
150 <service android:exported="false"
151 android:name="com.google.ipc.invalidation.ticl.android2.TiclSer vice"/>
152 <service android:exported="false"
153 android:name="com.google.ipc.invalidation.ticl.android2.channel .AndroidMessageSenderService"/>
154 <receiver android:exported="false"
155 android:name="com.google.ipc.invalidation.ticl.android2.Androi dInternalScheduler$AlarmReceiver"/>
156 <receiver android:exported="false"
157 android:name="com.google.ipc.invalidation.external.client.cont rib.AndroidListener$AlarmReceiver"/>
158
159 <!-- Notification service multiplexed GCM receiver -->
160 <service android:exported="false"
161 android:name="com.google.ipc.invalidation.ticl.android2.channel .AndroidMessageReceiverService"
162 android:enabled="true"/>
163 <receiver android:exported="false"
164 android:name="com.google.ipc.invalidation.ticl.android2.channe l.AndroidMessageReceiverService$Receiver">
165 <intent-filter>
166 <action android:name="com.google.ipc.invalidation.gcmmplex.EVENT " />
167 </intent-filter>
168 </receiver>
169
170 <provider android:name="org.chromium.chrome.browser.ChromeBrowserProvide r"
171 android:authorities="org.chromium.chrome.testshell"
172 android:exported="true" />
173
99 <!-- Sync adapter for browser sync. --> 174 <!-- Sync adapter for browser sync. -->
100 <service android:exported="false" 175 <service android:exported="false"
101 android:name="org.chromium.chrome.testshell.sync.ChromiumTestSh ellSyncAdapterService"> 176 android:name="org.chromium.chrome.testshell.sync.ChromiumTestSh ellSyncAdapterService">
102 <intent-filter> 177 <intent-filter>
103 <action android:name="android.content.SyncAdapter" /> 178 <action android:name="android.content.SyncAdapter" />
104 </intent-filter> 179 </intent-filter>
105 <meta-data android:name="android.content.SyncAdapter" 180 <meta-data android:name="android.content.SyncAdapter"
106 android:resource="@xml/syncadapter" /> 181 android:resource="@xml/syncadapter" />
107 </service> 182 </service>
108
109 <!-- Name of the class implementing the invalidation client, for sync no tifications. -->
110 <meta-data android:name="org.chromium.sync.notifier.IMPLEMENTING_CLASS_N AME"
111 android:value="org.chromium.sync.notifier.TEST_VALUE" />
112 </application> 183 </application>
113
114 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" />
115 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
116 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
117 <uses-permission android:name="android.permission.CAMERA" />
118 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
119 <uses-permission android:name="android.permission.INTERNET"/>
120 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
121 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
122 <uses-permission android:name="android.permission.VIBRATE"/>
123 <uses-permission android:name="android.permission.WAKE_LOCK"/>
124 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
125 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
126 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
127 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
128 </manifest> 184 </manifest>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698