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

Unified Diff: remoting/ios/app/app_view_controller.h

Issue 2949713002: [CRD iOS] Refactor an interface for RemotingAuthorization (Closed)
Patch Set: Rebase 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: remoting/ios/app/app_view_controller.h
diff --git a/remoting/ios/app/app_view_controller.h b/remoting/ios/app/app_view_controller.h
index efc5edc440a79db130b3e2588a088e6d366e8fde..95870748abd0b89bc0e61ca6a62f74b83e08e0c1 100644
--- a/remoting/ios/app/app_view_controller.h
+++ b/remoting/ios/app/app_view_controller.h
@@ -7,6 +7,8 @@
#import <UIKit/UIKit.h>
+@protocol RemotingAuthentication;
+
@protocol AppController<NSObject>
// For adding new methods, please mark them as optional until they are
@@ -17,6 +19,9 @@
- (void)hideMenuAnimated:(BOOL)animated;
- (void)presentSignInFlow;
+@property(nonatomic, readonly) id<RemotingAuthentication> authentication;
+@property(nonatomic) UIViewController* mainViewController;
+
@end
// The root view controller of the app. It acts as a container controller for
@@ -25,9 +30,6 @@
// and feedback.
@interface AppViewController : UIViewController<AppController>
-- (instancetype)initWithMainViewController:
- (UIViewController*)mainViewController;
-
@end
#endif // REMOTING_IOS_APP_APP_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698