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 #ifndef COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_ADAPTER_H_ | 5 #ifndef COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_ADAPTER_H_ |
6 #define COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_ADAPTER_H_ | 6 #define COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_ADAPTER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/android/jni_android.h" | 13 #include "base/android/jni_android.h" |
14 #include "base/android/jni_array.h" | 14 #include "base/android/jni_array.h" |
15 #include "base/android/jni_string.h" | 15 #include "base/android/jni_string.h" |
16 #include "base/android/scoped_java_ref.h" | 16 #include "base/android/scoped_java_ref.h" |
17 #include "base/callback.h" | 17 #include "base/callback.h" |
18 #include "base/location.h" | 18 #include "base/location.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
22 #include "net/base/request_priority.h" | 22 #include "net/base/request_priority.h" |
23 #include "net/url_request/url_request.h" | 23 #include "net/url_request/url_request.h" |
24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
25 | 25 |
26 namespace base { | |
27 class SingleThreadTaskRunner; | |
28 } // namespace base | |
29 | |
30 namespace net { | 26 namespace net { |
31 class HttpRequestHeaders; | 27 class HttpRequestHeaders; |
32 class HttpResponseHeaders; | |
33 class SSLCertRequestInfo; | 28 class SSLCertRequestInfo; |
34 class SSLInfo; | 29 class SSLInfo; |
35 class UploadDataStream; | 30 class UploadDataStream; |
36 } // namespace net | 31 } // namespace net |
37 | 32 |
38 namespace cronet { | 33 namespace cronet { |
39 | 34 |
40 class CronetURLRequestContextAdapter; | 35 class CronetURLRequestContextAdapter; |
41 class IOBufferWithByteBuffer; | 36 class IOBufferWithByteBuffer; |
42 class TestUtil; | 37 class TestUtil; |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 // Whether detailed metrics should be collected and reported to Java for this | 157 // Whether detailed metrics should be collected and reported to Java for this |
163 // request. | 158 // request. |
164 const bool enable_metrics_; | 159 const bool enable_metrics_; |
165 | 160 |
166 DISALLOW_COPY_AND_ASSIGN(CronetURLRequestAdapter); | 161 DISALLOW_COPY_AND_ASSIGN(CronetURLRequestAdapter); |
167 }; | 162 }; |
168 | 163 |
169 } // namespace cronet | 164 } // namespace cronet |
170 | 165 |
171 #endif // COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_ADAPTER_H_ | 166 #endif // COMPONENTS_CRONET_ANDROID_CRONET_URL_REQUEST_ADAPTER_H_ |
OLD | NEW |