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

Unified Diff: remoting/client/ios/facade/remoting_service.h

Issue 2828113002: Provide HostView with data required for creating a new and session, and render for CRD iOS. (Closed)
Patch Set: fixing issue based on feedback. Created 3 years, 8 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/client/ios/facade/remoting_service.h
diff --git a/remoting/client/ios/facade/remoting_service.h b/remoting/client/ios/facade/remoting_service.h
index a92039dccc444ed0139b44bf91e1559f35cd7b37..2f27fba1ad2b340a1dda0355a130ded17d34b75e 100644
--- a/remoting/client/ios/facade/remoting_service.h
+++ b/remoting/client/ios/facade/remoting_service.h
@@ -10,6 +10,7 @@
#import "remoting/client/ios/domain/user_info.h"
#include "base/memory/weak_ptr.h"
+#include "remoting/base/oauth_token_getter.h"
// |RemotingAuthenticationDelegate|s are interested in authentication related
// notifications.
@@ -67,6 +68,10 @@
// Returns the currently cached host list or nil if none exist.
- (NSArray<HostInfo*>*)getHosts;
+// Fetches an OAuth Access Token and passes it back to the callback.
+- (void)callbackWithAccessToken:
+ (const remoting::OAuthTokenGetter::TokenCallback&)onAccessToken;
+
@end
#endif // REMOTING_CLIENT_IOS_FACADE_REMOTING_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698