OLD | NEW |
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.cronet_test_apk; | 5 package org.chromium.net; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 import android.content.res.AssetManager; | 8 import android.content.res.AssetManager; |
9 import android.util.Log; | 9 import android.util.Log; |
10 | 10 |
11 import org.chromium.base.PathUtils; | 11 import org.chromium.base.PathUtils; |
12 | 12 |
13 import java.io.File; | 13 import java.io.File; |
14 import java.io.FileOutputStream; | 14 import java.io.FileOutputStream; |
15 import java.io.InputStream; | 15 import java.io.InputStream; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 try { | 117 try { |
118 out.close(); | 118 out.close(); |
119 } catch (Exception closeException) { | 119 } catch (Exception closeException) { |
120 closeException.printStackTrace(); | 120 closeException.printStackTrace(); |
121 } | 121 } |
122 e.printStackTrace(); | 122 e.printStackTrace(); |
123 return false; | 123 return false; |
124 } | 124 } |
125 } | 125 } |
126 } | 126 } |
OLD | NEW |