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

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: nits 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 51%
copy from third_party/mojo/src/mojo/public/go/system/system_nacl.go
copy to ios/net/empty_nsurlcache.mm
index 8bf001c1e66a4267b1b760be4e91b6b8176e1dd9..be2e9e6da7c943181f38643322e84cd64cfdc4e7 100644
--- a/third_party/mojo/src/mojo/public/go/system/system_nacl.go
+++ b/ios/net/empty_nsurlcache.mm
@@ -2,11 +2,12 @@
// 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;
}
+
+@end

Powered by Google App Engine
This is Rietveld 408576698