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

Side by Side Diff: content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java

Issue 12088031: Revert 179189 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.content_browsertests_apk;
6
7 import android.app.Application;
8
9 import org.chromium.base.PathUtils;
10 import org.chromium.content.app.LibraryLoader;
11 import org.chromium.content.browser.ResourceExtractor;
12
13 public class ContentBrowserTestsApplication extends Application {
14
15 private static final String NATIVE_LIBRARY = "content_browsertests";
16 private static final String[] MANDATORY_PAK_FILES = new String[] {"content_s hell.pak"};
17 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "content_shell";
18
19 @Override
20 public void onCreate() {
21 super.onCreate();
22 initializeApplicationParameters();
23 }
24
25 public static void initializeApplicationParameters() {
26 ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
27 LibraryLoader.setLibraryToLoad(NATIVE_LIBRARY);
28 PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
29 }
30
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698