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

Side by Side Diff: chrome/android/java/templates/MonochromeApplication.template

Issue 2640143002: Allow autoplay unmuted for WebAPK in the manifest scope (Closed)
Patch Set: fixed Android build and layout tests Created 3 years, 10 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package {{package}}; 5 package {{package}};
6 6
7 import android.content.Context; 7 import android.content.Context;
8 8
9 import com.android.webview.chromium.MonochromeLibraryPreloader; 9 import com.android.webview.chromium.MonochromeLibraryPreloader;
10 10
(...skipping 16 matching lines...) Expand all
27 return mChildProcessCreationParams; 27 return mChildProcessCreationParams;
28 } 28 }
29 29
30 @Override 30 @Override
31 public void onCreate() { 31 public void onCreate() {
32 super.onCreate(); 32 super.onCreate();
33 LibraryLoader.setNativeLibraryPreloader(new MonochromeLibraryPreloader() ); 33 LibraryLoader.setNativeLibraryPreloader(new MonochromeLibraryPreloader() );
34 // ChildProcessCreationParams is only needed for browser process, though it is 34 // ChildProcessCreationParams is only needed for browser process, though it is
35 // created and set in all processes. 35 // created and set in all processes.
36 mChildProcessCreationParams = new ChildProcessCreationParams(getPackageN ame(), 36 mChildProcessCreationParams = new ChildProcessCreationParams(getPackageN ame(),
37 true /* isExternalService */, LibraryProcessType.PROCESS_CHILD); 37 true /* isExternalService */, LibraryProcessType.PROCESS_CHILD,
38 null /* additionalCommandLine */);
38 ChildProcessCreationParams.set(mChildProcessCreationParams); 39 ChildProcessCreationParams.set(mChildProcessCreationParams);
39 } 40 }
40 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698