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

Side by Side Diff: ios/chrome/app/safe_mode/safe_mode_coordinator.h

Issue 2915043003: [ObjC ARC] Converts ios/chrome/app/safe_mode:safe_mode to ARC. (Closed)
Patch Set: missing_include 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 unified diff | Download patch
« no previous file with comments | « ios/chrome/app/safe_mode/BUILD.gn ('k') | ios/chrome/app/safe_mode/safe_mode_coordinator.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CHROME_APP_SAFE_MODE_SAFE_MODE_COORDINATOR_H_ 5 #ifndef IOS_CHROME_APP_SAFE_MODE_SAFE_MODE_COORDINATOR_H_
6 #define IOS_CHROME_APP_SAFE_MODE_SAFE_MODE_COORDINATOR_H_ 6 #define IOS_CHROME_APP_SAFE_MODE_SAFE_MODE_COORDINATOR_H_
7 7
8 #import "ios/chrome/browser/chrome_root_coordinator.h" 8 #import "ios/chrome/browser/chrome_root_coordinator.h"
9 9
10 #import <UIKit/UIKit.h> 10 #import <UIKit/UIKit.h>
11 11
12 @class SafeModeCoordinator; 12 @class SafeModeCoordinator;
13 13
14 @protocol SafeModeCoordinatorDelegate<NSObject> 14 @protocol SafeModeCoordinatorDelegate<NSObject>
15 - (void)coordinatorDidExitSafeMode:(nonnull SafeModeCoordinator*)coordinator; 15 - (void)coordinatorDidExitSafeMode:(nonnull SafeModeCoordinator*)coordinator;
16 @end 16 @end
17 17
18 // Coordinator to manage the Safe Mode UI. This should be self-contained. 18 // Coordinator to manage the Safe Mode UI. This should be self-contained.
19 // While this is a ChromeCoordinator, it doesn't support (and will DCHECK) using 19 // While this is a ChromeCoordinator, it doesn't support (and will DCHECK) using
20 // child coordinators. 20 // child coordinators.
21 @interface SafeModeCoordinator : ChromeRootCoordinator 21 @interface SafeModeCoordinator : ChromeRootCoordinator
22 22
23 // Delegate for this coordinator. 23 // Delegate for this coordinator.
24 @property(nonatomic, nullable, assign) id<SafeModeCoordinatorDelegate> delegate; 24 @property(nonatomic, nullable, weak) id<SafeModeCoordinatorDelegate> delegate;
25 25
26 // If YES, there's a reason to show this coordinator. 26 // If YES, there's a reason to show this coordinator.
27 + (BOOL)shouldStart; 27 + (BOOL)shouldStart;
28 28
29 @end 29 @end
30 30
31 #endif // IOS_CHROME_APP_SAFE_MODE_SAFE_MODE_COORDINATOR_H_ 31 #endif // IOS_CHROME_APP_SAFE_MODE_SAFE_MODE_COORDINATOR_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/safe_mode/BUILD.gn ('k') | ios/chrome/app/safe_mode/safe_mode_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698