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

Unified Diff: components/cronet/ios/Cronet.h

Issue 2273403003: Moving gRPC support interfaces out of cronet and into a new component. (Closed)
Patch Set: Add DEPS Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/ios/Cronet.h
diff --git a/components/cronet/ios/Cronet.h b/components/cronet/ios/Cronet.h
index fc7b9c2486aa0573c1e3ce33264b8a67646e7390..691e966d52e4bb088f1de881921ec71433a697c9 100644
--- a/components/cronet/ios/Cronet.h
+++ b/components/cronet/ios/Cronet.h
@@ -4,10 +4,12 @@
#import <Foundation/Foundation.h>
-#include "cronet_c_for_grpc.h"
+#include "c_for_grpc.h"
// Interface for installing Cronet.
-CRONET_EXPORT
+// TODO(gcasto): Should this macro be separate from the one defined in
+// c_for_grpc.h?
+GRPC_SUPPORT_EXPORT
@interface Cronet : NSObject
// Sets whether HTTP/2 should be supported by CronetEngine. This method only has
@@ -55,6 +57,6 @@ CRONET_EXPORT
+ (NSString*)getUserAgent;
// Get a pointer to global instance of cronet_engine for GRPC C API.
-+ (cronet_engine*)getGlobalEngine;
++ (stream_engine*)getGlobalEngine;
@end

Powered by Google App Engine
This is Rietveld 408576698