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 org.apache.http.conn.ConnectTimeoutException; | 7 import org.apache.http.conn.ConnectTimeoutException; |
8 import org.chromium.base.CalledByNative; | 8 import org.chromium.base.CalledByNative; |
9 import org.chromium.base.JNINamespace; | 9 import org.chromium.base.JNINamespace; |
10 | 10 |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 private native int nativeGetErrorCode(long urlRequestPeer); | 418 private native int nativeGetErrorCode(long urlRequestPeer); |
419 | 419 |
420 private native int nativeGetHttpStatusCode(long urlRequestPeer); | 420 private native int nativeGetHttpStatusCode(long urlRequestPeer); |
421 | 421 |
422 private native String nativeGetErrorString(long urlRequestPeer); | 422 private native String nativeGetErrorString(long urlRequestPeer); |
423 | 423 |
424 private native String nativeGetContentType(long urlRequestPeer); | 424 private native String nativeGetContentType(long urlRequestPeer); |
425 | 425 |
426 private native long nativeGetContentLength(long urlRequestPeer); | 426 private native long nativeGetContentLength(long urlRequestPeer); |
427 } | 427 } |
OLD | NEW |