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

Side by Side Diff: ios/net/empty_nsurlcache.mm

Issue 2489533003: [ObjC ARC] Converts ios/net to ARC. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « ios/net/crn_http_url_response.mm ('k') | ios/net/http_protocol_logging.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/net/empty_nsurlcache.h" 5 #import "ios/net/empty_nsurlcache.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
7 @implementation EmptyNSURLCache 11 @implementation EmptyNSURLCache
8 12
9 + (instancetype)emptyNSURLCache { 13 + (instancetype)emptyNSURLCache {
10 return [[[EmptyNSURLCache alloc] init] autorelease]; 14 return [[EmptyNSURLCache alloc] init];
11 } 15 }
12 16
13 - (NSCachedURLResponse*)cachedResponseForRequest:(NSURLRequest*)request { 17 - (NSCachedURLResponse*)cachedResponseForRequest:(NSURLRequest*)request {
14 return nil; 18 return nil;
15 } 19 }
16 20
17 @end 21 @end
OLDNEW
« no previous file with comments | « ios/net/crn_http_url_response.mm ('k') | ios/net/http_protocol_logging.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698