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

Unified Diff: ios/web/public/test/test_native_content.mm

Issue 2614443004: [ios] Moved all web mocks to ios/web/public/test/fakes. (Closed)
Patch Set: Moved test_redirect_observer back Created 3 years, 11 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 | « ios/web/public/test/test_native_content.h ('k') | ios/web/public/test/test_native_content_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/test_native_content.mm
diff --git a/ios/web/public/test/test_native_content.mm b/ios/web/public/test/test_native_content.mm
deleted file mode 100644
index 398bae55a1757cf4b62acd87e6ff4fe7814e4b53..0000000000000000000000000000000000000000
--- a/ios/web/public/test/test_native_content.mm
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#import "ios/web/public/test/test_native_content.h"
-
-#import "base/mac/scoped_nsobject.h"
-
-@implementation TestNativeContent {
- GURL _URL;
- GURL _virtualURL;
- base::scoped_nsobject<UIView> _view;
-}
-- (instancetype)initWithURL:(const GURL&)URL
- virtualURL:(const GURL&)virtualURL {
- self = [super init];
- if (self) {
- _URL = URL;
- _virtualURL = virtualURL;
- }
- return self;
-}
-
-- (BOOL)respondsToSelector:(SEL)selector {
- if (selector == @selector(virtualURL)) {
- return _virtualURL.is_valid();
- }
- return [super respondsToSelector:selector];
-}
-
-- (NSString*)title {
- return @"Test Title";
-}
-
-- (const GURL&)url {
- return _URL;
-}
-
-- (GURL)virtualURL {
- return _virtualURL;
-}
-
-- (UIView*)view {
- return nil;
-}
-
-- (void)handleLowMemory {
-}
-
-- (BOOL)isViewAlive {
- return YES;
-}
-
-- (void)reload {
-}
-@end
« no previous file with comments | « ios/web/public/test/test_native_content.h ('k') | ios/web/public/test/test_native_content_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698