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

Side by Side Diff: ios/web/public/test/fakes/test_native_content.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef IOS_WEB_PUBLIC_TEST_TEST_NATIVE_CONTENT_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_FAKES_TEST_NATIVE_CONTENT_H_
6 #define IOS_WEB_PUBLIC_TEST_TEST_NATIVE_CONTENT_H_ 6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_NATIVE_CONTENT_H_
7 7
8 #import "ios/web/public/web_state/ui/crw_native_content.h" 8 #import "ios/web/public/web_state/ui/crw_native_content.h"
9 9
10 // A test class that implement CRWNativeContent. 10 // A test class that implement CRWNativeContent.
11 @interface TestNativeContent : NSObject<CRWNativeContent> 11 @interface TestNativeContent : NSObject<CRWNativeContent>
12 // Inits the CRWNativeContent. 12 // Inits the CRWNativeContent.
13 // |URL| will be returned by the |url| method of the object. 13 // |URL| will be returned by the |url| method of the object.
14 // If |virtualURL| is valid, it will be returned by the |virtualURL| method. 14 // If |virtualURL| is valid, it will be returned by the |virtualURL| method.
15 // If not, the object will pretend it does not implement |virtualURL|. 15 // If not, the object will pretend it does not implement |virtualURL|.
16 - (instancetype)initWithURL:(const GURL&)URL 16 - (instancetype)initWithURL:(const GURL&)URL
17 virtualURL:(const GURL&)virtualURL NS_DESIGNATED_INITIALIZER; 17 virtualURL:(const GURL&)virtualURL NS_DESIGNATED_INITIALIZER;
18 18
19 - (instancetype)init NS_UNAVAILABLE; 19 - (instancetype)init NS_UNAVAILABLE;
20 @end 20 @end
21 21
22 #endif // IOS_WEB_PUBLIC_TEST_TEST_NATIVE_CONTENT_H_ 22 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_NATIVE_CONTENT_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/fakes/test_browser_state.cc ('k') | ios/web/public/test/fakes/test_native_content.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698