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

Side by Side Diff: content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java

Issue 548023002: Migrate ResourceExtractor.java inside org.chromium.base package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rolling the AOSP deps Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 org.chromium.chromium_linker_test_apk; 5 package org.chromium.chromium_linker_test_apk;
6 6
7 import android.app.Application; 7 import android.app.Application;
8 8
9 import org.chromium.base.PathUtils; 9 import org.chromium.base.PathUtils;
10 import org.chromium.content.browser.ResourceExtractor; 10 import org.chromium.base.ResourceExtractor;
11 11
12 /** 12 /**
13 * Application for testing the Chromium Linker 13 * Application for testing the Chromium Linker
14 */ 14 */
15 public class ChromiumLinkerTestApplication extends Application { 15 public class ChromiumLinkerTestApplication extends Application {
16 16
17 /** 17 /**
18 * icudtl.dat provides ICU (i18n library) with all the data for its 18 * icudtl.dat provides ICU (i18n library) with all the data for its
19 * operation. We use to link it statically to our binary, but not any more 19 * operation. We use to link it statically to our binary, but not any more
20 * so that we have to install it along with other mandatory pak files. 20 * so that we have to install it along with other mandatory pak files.
(...skipping 10 matching lines...) Expand all
31 super.onCreate(); 31 super.onCreate();
32 initializeApplicationParameters(); 32 initializeApplicationParameters();
33 } 33 }
34 34
35 public static void initializeApplicationParameters() { 35 public static void initializeApplicationParameters() {
36 ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES); 36 ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
37 PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX); 37 PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
38 } 38 }
39 39
40 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698