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

Unified Diff: ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm

Issue 2955433002: [ObjC ARC] Converts ios/chrome/browser/ui/ntp:ntp_controller to ARC. (Closed)
Patch Set: Fix eg tests Created 3 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/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm
diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm b/ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm
index 2314916466bf0a6f944a1ac9db346b815501ddf0..717ab6b577f4ad446ade6ffd8c95a9e1f46fe51d 100644
--- a/ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm
+++ b/ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm
@@ -34,31 +34,6 @@
#error "This file requires ARC support."
#endif
-@interface NewTabPageController (TestSupport)
-- (id<NewTabPagePanelProtocol>)currentController;
-- (BookmarkHomeTabletNTPController*)bookmarkController;
-- (id<NewTabPagePanelProtocol>)incognitoController;
-@end
-
-@interface NewTabPageController (PrivateMethods)
-@property(nonatomic, retain) NewTabPageView* ntpView;
-@end
-
-@implementation NewTabPageController (TestSupport)
-
-- (id<NewTabPagePanelProtocol>)currentController {
- return currentController_;
-}
-
-- (BookmarkHomeTabletNTPController*)bookmarkController {
- return bookmarkController_.get();
-}
-
-- (id<NewTabPagePanelProtocol>)incognitoController {
- return incognitoController_;
-}
-
-@end
namespace {
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_controller.mm ('k') | ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698