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
3 // found in the LICENSE file.
5 package org
.chromium
.net
;
7 import android
.app
.Application
;
8 import android
.util
.Log
;
10 import org
.chromium
.base
.PathUtils
;
13 * Application for managing the Cronet Test.
15 public class CronetTestApplication
extends Application
{
16 private static final String TAG
= "CronetTestApplication";
18 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX
= "cronet_test";
21 public void onCreate() {
23 initializeApplicationParameters();
24 TestFilesInstaller
.installIfNeeded(getApplicationContext());
27 public static void initializeApplicationParameters() {
28 PathUtils
.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX
);
29 Log
.i(TAG
, "CronetTestApplication.initializeApplicationParameters()"