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

Unified Diff: content/shell/android/java/src/org/chromium/content_shell/ContentShellApplication.java

Issue 12047068: Add apk for running content_browsertests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
Index: content/shell/android/java/src/org/chromium/content_shell/ContentShellApplication.java
diff --git a/content/shell/android/java/src/org/chromium/content_shell/ContentShellApplication.java b/content/shell/android/java/src/org/chromium/content_shell/ContentShellApplication.java
deleted file mode 100644
index 16f7c51c0994fb638f4ea5eab3a948fdd8bb5686..0000000000000000000000000000000000000000
--- a/content/shell/android/java/src/org/chromium/content_shell/ContentShellApplication.java
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 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 org.chromium.content_shell;
-
-import android.app.Application;
-
-import org.chromium.base.PathUtils;
-import org.chromium.content.app.LibraryLoader;
-import org.chromium.content.browser.ResourceExtractor;
-
-/**
- * Entry point for the content shell application. Handles initialization of information that needs
- * to be shared across the main activity and the sandbox services created.
- */
-public class ContentShellApplication extends Application {
-
- private static final String NATIVE_LIBRARY = "content_shell_content_view";
- private static final String[] MANDATORY_PAK_FILES = new String[] {"content_shell.pak"};
- private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "content_shell";
-
- @Override
- public void onCreate() {
- super.onCreate();
- initializeApplicationParameters();
- }
-
- public static void initializeApplicationParameters() {
- ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
- LibraryLoader.setLibraryToLoad(NATIVE_LIBRARY);
- PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
- }
-
-}

Powered by Google App Engine
This is Rietveld 408576698