| OLD | NEW |
| 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 } |
| OLD | NEW |