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

Unified Diff: chrome/android/java/templates/MonochromeApplication.template

Issue 2737523003: Remove unused MonochromeApplication template code. (Closed)
Patch Set: Reeebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/templates/monochrome_application.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/templates/MonochromeApplication.template
diff --git a/chrome/android/java/templates/MonochromeApplication.template b/chrome/android/java/templates/MonochromeApplication.template
deleted file mode 100644
index 42eb80611ac7a223dc83906d12e1a146bc2416a6..0000000000000000000000000000000000000000
--- a/chrome/android/java/templates/MonochromeApplication.template
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package {{package}};
-
-import android.content.Context;
-
-import com.android.webview.chromium.MonochromeLibraryPreloader;
-
-import org.chromium.base.library_loader.LibraryLoader;
-import org.chromium.base.library_loader.LibraryProcessType;
-import org.chromium.content.browser.ChildProcessCreationParams;
-
-/**
- * This is Application class for Monochrome.
- *
- * You shouldn't add anything else in this file, this class is split off from
- * normal chrome in order to access Android system API through Android WebView
- * glue layer and have monochrome specific code.
- */
-public class {{ monochrome_application_class }} extends {{ super_class }} {
- @Override
- public void onCreate() {
- super.onCreate();
- LibraryLoader.setNativeLibraryPreloader(new MonochromeLibraryPreloader());
- // ChildProcessCreationParams is only needed for browser process, though it is
- // created and set in all processes.
- ChildProcessCreationParams.registerDefault(
- new ChildProcessCreationParams(getPackageName(),
- true /* isExternalService */,
- LibraryProcessType.PROCESS_CHILD));
- }
-}
« no previous file with comments | « no previous file | chrome/android/java/templates/monochrome_application.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698