Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / ios / net / empty_nsurlcache.mm
blobc08826bb188e1c62ffc1ecae15f4732eda7fdac5
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
3 // found in the LICENSE file.
5 #import "ios/net/empty_nsurlcache.h"
7 @implementation EmptyNSURLCache
9 + (instancetype)emptyNSURLCache {
10   return [[[EmptyNSURLCache alloc] init] autorelease];
13 - (NSCachedURLResponse*)cachedResponseForRequest:(NSURLRequest*)request {
14   return nil;
17 @end