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

Unified Diff: ios/net/empty_nsurlcache.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UNAVAILABLE_ATTRIBUTE->NS_UNAVAILABLE Created 5 years, 6 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
Index: ios/net/empty_nsurlcache.mm
diff --git a/third_party/mojo/src/mojo/public/go/system/system_nacl.go b/ios/net/empty_nsurlcache.mm
similarity index 50%
copy from third_party/mojo/src/mojo/public/go/system/system_nacl.go
copy to ios/net/empty_nsurlcache.mm
index 8bf001c1e66a4267b1b760be4e91b6b8176e1dd9..621f4b1b12f36b2f08ce453f4fb61aa782048925 100644
--- a/third_party/mojo/src/mojo/public/go/system/system_nacl.go
+++ b/ios/net/empty_nsurlcache.mm
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package system
+#import "ios/net/empty_nsurlcache.h"
-import "runtime/nacl"
+@implementation EmptyNSURLCache
-// NaCl uses the runtime's Mojo IRT based system implementation.
-func init() {
- sysImpl = &nacl.MojoNaClSystem{}
+- (NSCachedURLResponse*)cachedResponseForRequest:
+ (NSURLRequest*)request {
+ return nil;
}
+
sdefresne 2015/06/10 16:15:55 + (instancetype)emptyNSURLCache { return [[[Empt
justincohen 2015/06/10 16:33:36 Done.
+@end

Powered by Google App Engine
This is Rietveld 408576698