Index: remoting/ios/facade/remoting_service.h |
diff --git a/remoting/ios/facade/remoting_service.h b/remoting/ios/facade/remoting_service.h |
index 33f9fd999104acfa3a6d701e00a973b3989038b2..e93f5193772c7e3394b2d312b8adbb3c33fa2b18 100644 |
--- a/remoting/ios/facade/remoting_service.h |
+++ b/remoting/ios/facade/remoting_service.h |
@@ -7,12 +7,10 @@ |
#import "remoting/client/chromoting_client_runtime.h" |
-#include "base/memory/weak_ptr.h" |
-#include "remoting/base/oauth_token_getter.h" |
- |
@class HostInfo; |
@class UserInfo; |
-@class RemotingAuthentication; |
+ |
+@protocol RemotingAuthentication; |
// Eventing related keys: |
@@ -36,8 +34,6 @@ extern NSString* const kUserInfo; |
// |kHostsDidUpdate| when a new host is ready. |
- (void)requestHostListFetch; |
-@property(nonatomic, readonly) RemotingAuthentication* authentication; |
- |
// Returns the current host list. |
@property(nonatomic, readonly) NSArray<HostInfo*>* hosts; |
@@ -45,6 +41,10 @@ extern NSString* const kUserInfo; |
// resources used by the Chromoting clients |
@property(nonatomic, readonly) remoting::ChromotingClientRuntime* runtime; |
+// This must be set immediately after the authentication object is created. It |
+// can only be set once. |
+@property(nonatomic) id<RemotingAuthentication> authentication; |
+ |
@end |
#endif // REMOTING_IOS_FACADE_REMOTING_SERVICE_H_ |