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

Unified Diff: ios/chrome/browser/infobars/infobar_controller.h

Issue 2574463002: [ObjC ARC] Converts ios/chrome/browser/infobars:infobars to ARC.\n\nAutomatically generated ARCMigr… (Closed)
Patch Set: retain-autorelease Created 4 years 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/infobars/infobar_controller.h
diff --git a/ios/chrome/browser/infobars/infobar_controller.h b/ios/chrome/browser/infobars/infobar_controller.h
index c77e229f0d3cc548dc89a8f33681a4214e2dd8ca..a3dc828063a64427365bc840d8a34c7e38659c09 100644
--- a/ios/chrome/browser/infobars/infobar_controller.h
+++ b/ios/chrome/browser/infobars/infobar_controller.h
@@ -6,7 +6,6 @@
#define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_CONTROLLER_H_
#import <UIKit/UIKit.h>
-#include "base/mac/scoped_nsobject.h"
@protocol InfoBarViewProtocol;
class InfoBarViewDelegate;
@@ -26,9 +25,9 @@ class InfoBarDelegate;
// Creates a view and lays out all the infobar elements in it. Will not add
// it as a subview yet. This method must be overriden in subclasses.
-- (base::scoped_nsobject<UIView<InfoBarViewProtocol>>)
- viewForDelegate:(infobars::InfoBarDelegate*)delegate
- frame:(CGRect)bounds;
+- (UIView<InfoBarViewProtocol>*)viewForDelegate:
+ (infobars::InfoBarDelegate*)delegate
+ frame:(CGRect)bounds;
// Creates the view.
- (void)layoutForDelegate:(infobars::InfoBarDelegate*)delegate
« no previous file with comments | « ios/chrome/browser/infobars/infobar_container_view.mm ('k') | ios/chrome/browser/infobars/infobar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698