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

Unified Diff: ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm

Issue 2964383002: [ObjC ARC] Converts ios/public/provider/chrome/browser/signin:signin to ARC. (Closed)
Patch Set: comments Created 3 years, 5 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/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm
diff --git a/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm b/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm
index 6e5b223dd24e65a4fdb8970a510764888b01f090..4be67232e786c34ff50fe4ade806fb4d498fc13e 100644
--- a/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm
+++ b/ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.mm
@@ -4,23 +4,14 @@
#import "ios/public/provider/chrome/browser/signin/chrome_identity_interaction_manager.h"
-#import "base/ios/weak_nsobject.h"
#include "base/logging.h"
-@interface ChromeIdentityInteractionManager () {
- base::WeakNSProtocol<id<ChromeIdentityInteractionManagerDelegate>> _delegate;
-}
-@end
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
@implementation ChromeIdentityInteractionManager
-
-- (id<ChromeIdentityInteractionManagerDelegate>)delegate {
- return _delegate;
-}
-
-- (void)setDelegate:(id<ChromeIdentityInteractionManagerDelegate>)delegate {
- _delegate.reset(delegate);
-}
+@synthesize delegate = _delegate;
- (BOOL)isCanceling {
return NO;

Powered by Google App Engine
This is Rietveld 408576698