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.net; | 5 package org.chromium.net; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 import android.util.Log; | 8 import android.util.Log; |
9 | 9 |
10 /** | 10 /** |
(...skipping 25 matching lines...) Expand all Loading... |
36 } | 36 } |
37 sInstance = new ChromiumUrlRequestContext( | 37 sInstance = new ChromiumUrlRequestContext( |
38 context.getApplicationContext(), | 38 context.getApplicationContext(), |
39 UserAgent.from(context), | 39 UserAgent.from(context), |
40 loggingLevel); | 40 loggingLevel); |
41 } | 41 } |
42 } | 42 } |
43 return sInstance; | 43 return sInstance; |
44 } | 44 } |
45 } | 45 } |
OLD | NEW |