| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_CRONET_IOS_CRONET_C_FOR_GRPC_H_ |
| 6 #define COMPONENTS_CRONET_IOS_CRONET_C_FOR_GRPC_H_ |
| 7 |
| 8 #include "bidirectional_stream_c.h" |
| 9 |
| 10 // TODO(mef): Remove this header after transition to bidirectional_stream_c.h |
| 11 // See crbug.com/650462 for details. |
| 12 |
| 13 /* Define deprecated Cronet Engine API using current API. */ |
| 14 #define cronet_engine stream_engine |
| 15 |
| 16 /* Define deprecated Bidirectional Stream API using current API. */ |
| 17 #define cronet_bidirectional_stream bidirectional_stream |
| 18 #define cronet_bidirectional_stream_header bidirectional_stream_header |
| 19 #define cronet_bidirectional_stream_header_array \ |
| 20 bidirectional_stream_header_array |
| 21 #define cronet_bidirectional_stream_callback bidirectional_stream_callback |
| 22 |
| 23 #define cronet_bidirectional_stream_create bidirectional_stream_create |
| 24 #define cronet_bidirectional_stream_destroy bidirectional_stream_destroy |
| 25 #define cronet_bidirectional_stream_disable_auto_flush \ |
| 26 bidirectional_stream_disable_auto_flush |
| 27 #define cronet_bidirectional_stream_delay_request_headers_until_flush \ |
| 28 bidirectional_stream_delay_request_headers_until_flush |
| 29 #define cronet_bidirectional_stream_start bidirectional_stream_start |
| 30 #define cronet_bidirectional_stream_read bidirectional_stream_read |
| 31 #define cronet_bidirectional_stream_write bidirectional_stream_write |
| 32 #define cronet_bidirectional_stream_flush bidirectional_stream_flush |
| 33 #define cronet_bidirectional_stream_cancel bidirectional_stream_cancel |
| 34 #define cronet_bidirectional_stream_is_done bidirectional_stream_is_done |
| 35 |
| 36 #endif // COMPONENTS_CRONET_IOS_CRONET_C_FOR_GRPC_H_ |
| OLD | NEW |