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

Unified Diff: chrome/installer/mac/app/NetworkCommunication.m

Issue 2144033002: Redeclare symbols to fix partial availability warnings in //chrome/installer/mac/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mac/app/NetworkCommunication.m
diff --git a/chrome/installer/mac/app/NetworkCommunication.m b/chrome/installer/mac/app/NetworkCommunication.m
index d19566a1e0188cd7a0d61bbbd0f09abc39275e02..fdee74548ecd305a22a0e0cb413d965e31de019d 100644
--- a/chrome/installer/mac/app/NetworkCommunication.m
+++ b/chrome/installer/mac/app/NetworkCommunication.m
@@ -6,6 +6,19 @@
#import "NetworkCommunication.h"
+@interface NSURLSession (PartialAvailability)
+- (NSURLSessionDataTask*)dataTaskWithRequest:(NSURLRequest*)request
+ completionHandler:
+ (void (^)(NSData* data,
+ NSURLResponse* response,
+ NSError* error))completionHandler;
+- (NSURLSessionDownloadTask*)
+downloadTaskWithRequest:(NSURLRequest*)request
+ completionHandler:(void (^)(NSURL* location,
+ NSURLResponse* response,
+ NSError* error))completionHandler;
+@end
+
@implementation NetworkCommunication : NSObject
@synthesize session = session_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698