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

Unified Diff: ios/crnet/CrNet.h

Issue 1979313002: Added crnet_framework target to build CrNet dynamic framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build rules, update API. 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 | « no previous file | ios/crnet/CrNet.mm » ('j') | ios/crnet/crnet.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/crnet/CrNet.h
diff --git a/ios/crnet/CrNet.h b/ios/crnet/CrNet.h
index 043ee6e62406c3d79ab1384c35440208499db467..01b091642682460355ccf4217ac8fc893099a80d 100644
--- a/ios/crnet/CrNet.h
+++ b/ios/crnet/CrNet.h
@@ -18,11 +18,12 @@ typedef BOOL(^RequestFilterBlock)(NSURLRequest *request);
typedef void(^ClearCacheCallback)(int errorCode);
// Interface for installing CrNet.
+__attribute__((visibility("default")))
@interface CrNet : NSObject
-// Sets whether SPDY should be supported by CrNet. This method only has any
-// effect before |install| is called.
-+ (void)setSpdyEnabled:(BOOL)spdyEnabled;
+// Sets whether HTTP/2 should be supported by CrNet. This method only has
+// any effect before |install| is called.
++ (void)setHttp2Enabled:(BOOL)http2Enabled;
// Sets whether QUIC should be supported by CrNet. This method only has any
// effect before |install| is called.
@@ -33,7 +34,7 @@ typedef void(^ClearCacheCallback)(int errorCode);
// which file should be used for SDCH persistence metadata. If |filename| is
// nil, persistence is not enabled. The default is for SDCH to be disabled.
+ (void)setSDCHEnabled:(BOOL)sdchEnabled
- withPrefStore:(NSString*)filename;
+ withPrefStore:(NSString *)filename;
// |userAgent| is expected to be of the form Product/Version.
// Example: Foo/3.0.0.0
« no previous file with comments | « no previous file | ios/crnet/CrNet.mm » ('j') | ios/crnet/crnet.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698