OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_ANDROID_NETWORK_LIBRARY_H_ | 5 #ifndef NET_ANDROID_NETWORK_LIBRARY_H_ |
6 #define NET_ANDROID_NETWORK_LIBRARY_H_ | 6 #define NET_ANDROID_NETWORK_LIBRARY_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stddef.h> |
9 #include <stdint.h> | 10 #include <stdint.h> |
10 | 11 |
11 #include <string> | 12 #include <string> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "net/android/cert_verify_result_android.h" | 15 #include "net/android/cert_verify_result_android.h" |
15 #include "net/base/mime_util.h" | 16 #include "net/base/mime_util.h" |
16 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
17 | 18 |
18 namespace net { | 19 namespace net { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // true, it suggests that use of data may incur extra costs. | 82 // true, it suggests that use of data may incur extra costs. |
82 NET_EXPORT bool GetIsRoaming(); | 83 NET_EXPORT bool GetIsRoaming(); |
83 | 84 |
84 // Register JNI methods | 85 // Register JNI methods |
85 NET_EXPORT bool RegisterNetworkLibrary(JNIEnv* env); | 86 NET_EXPORT bool RegisterNetworkLibrary(JNIEnv* env); |
86 | 87 |
87 } // namespace android | 88 } // namespace android |
88 } // namespace net | 89 } // namespace net |
89 | 90 |
90 #endif // NET_ANDROID_NETWORK_LIBRARY_H_ | 91 #endif // NET_ANDROID_NETWORK_LIBRARY_H_ |
OLD | NEW |