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

Side by Side Diff: components/cronet/android/test/src/org/chromium/net/CronetTestApplication.java

Issue 1424193003: [Cronet] Remove CronetEngine.Builder JSON serial/deserialization APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Helen's comment Created 5 years, 1 month 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.net; 5 package org.chromium.net;
6 6
7 import android.app.Application; 7 import android.app.Application;
8 import android.content.Context;
9 import android.util.Log;
10
11 import org.chromium.base.PathUtils;
12 8
13 /** 9 /**
14 * Application for managing the Cronet Test. 10 * Application for managing the Cronet Test.
15 */ 11 */
16 public class CronetTestApplication extends Application { 12 public class CronetTestApplication extends Application {
17 private static final String TAG = "CronetTestApplication";
18
19 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "cronet_test";
20
21 @Override
22 public void onCreate() {
23 super.onCreate();
24 initializeApplicationParameters(this);
25 }
26
27 public static void initializeApplicationParameters(Context context) {
28 PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, c ontext);
29 Log.i(TAG, "CronetTestApplication.initializeApplicationParameters()"
30 + " success.");
31 }
32 } 13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698