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

Side by Side Diff: blimp/client/android/java/src/org/chromium/blimp/BlimpApplication.java

Issue 1365823002: Add basic test suite for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_strings
Patch Set: Added top level test target Created 5 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.blimp; 5 package org.chromium.blimp;
6 6
7 import android.app.Application; 7 import android.app.Application;
8 8
9 import org.chromium.base.BaseChromiumApplication;
9 import org.chromium.base.PathUtils; 10 import org.chromium.base.PathUtils;
10 import org.chromium.base.ResourceExtractor; 11 import org.chromium.base.ResourceExtractor;
11 12
12 /** 13 /**
13 * The {@link Application} for the Blimp client. 14 * The {@link Application} for the Blimp client.
14 */ 15 */
15 public class BlimpApplication extends Application { 16 public class BlimpApplication extends BaseChromiumApplication {
16 private static final String[] MANDATORY_PAK_FILES = new String[] {}; 17 private static final String[] MANDATORY_PAK_FILES = new String[] {};
17 18
18 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "blimp"; 19 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "blimp";
19 20
20 @Override 21 @Override
21 public void onCreate() { 22 public void onCreate() {
22 super.onCreate(); 23 super.onCreate();
23 ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES); 24 ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
24 PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, t his); 25 PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, t his);
25 } 26 }
26 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698