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

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

Issue 1947903003: Cronet Dynamic Framework for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Misha's comments. Created 4 years, 7 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
« no previous file with comments | « components/cronet.gypi ('k') | components/cronet/ios/Info.plist » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/Cronet.mm
diff --git a/components/cronet/ios/Cronet.mm b/components/cronet/ios/Cronet.mm
index 987e02b3c6c391d33ec8bdbefc54c4ee5f7b714e..ca2bfd9c2fc0771f5113d666539660e5237eb93a 100644
--- a/components/cronet/ios/Cronet.mm
+++ b/components/cronet/ios/Cronet.mm
@@ -121,4 +121,10 @@ NSString* gSslKeyLogFileName = nil;
return nil;
}
+// This is a non-public dummy method that prevents the linker from stripping out
+// the otherwise non-referenced methods from 'cronet_bidirectional_stream.cc'.
++ (void)preventStrippingCronetBidirectionalStream {
+ cronet_bidirectional_stream_create(NULL, 0, 0);
+}
+
@end
« no previous file with comments | « components/cronet.gypi ('k') | components/cronet/ios/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698