Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Side by Side Diff: components/cronet/ios/Cronet.h

Issue 2273403003: Moving gRPC support interfaces out of cronet and into a new component. (Closed)
Patch Set: Add cronet_c_for_graph back to sources. Might fix GN, probably won't compile Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #import <Foundation/Foundation.h> 5 #import <Foundation/Foundation.h>
6 6
7 #include "cronet_c_for_grpc.h" 7 #include "components/grpc_support/cronet_c_for_grpc.h"
8 8
9 // Interface for installing Cronet. 9 // Interface for installing Cronet.
10 CRONET_EXPORT 10 CRONET_EXPORT
11 @interface Cronet : NSObject 11 @interface Cronet : NSObject
12 12
13 // Sets whether HTTP/2 should be supported by CronetEngine. This method only has 13 // Sets whether HTTP/2 should be supported by CronetEngine. This method only has
14 // any effect before |start| is called. 14 // any effect before |start| is called.
15 + (void)setHttp2Enabled:(BOOL)http2Enabled; 15 + (void)setHttp2Enabled:(BOOL)http2Enabled;
16 16
17 // Sets whether QUIC should be supported by CronetEngine. This method only has 17 // Sets whether QUIC should be supported by CronetEngine. This method only has
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 + (void)stopNetLog; 51 + (void)stopNetLog;
52 52
53 // Returns the full user-agent that the stack uses. 53 // Returns the full user-agent that the stack uses.
54 // This is the exact string servers will see. 54 // This is the exact string servers will see.
55 + (NSString*)getUserAgent; 55 + (NSString*)getUserAgent;
56 56
57 // Get a pointer to global instance of cronet_engine for GRPC C API. 57 // Get a pointer to global instance of cronet_engine for GRPC C API.
58 + (cronet_engine*)getGlobalEngine; 58 + (cronet_engine*)getGlobalEngine;
59 59
60 @end 60 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698