| Index: remoting/ios/app/client_connection_view_controller.mm
|
| diff --git a/remoting/ios/app/client_connection_view_controller.mm b/remoting/ios/app/client_connection_view_controller.mm
|
| index 5ccc95486ab132d18c1677dd207e334081c9bd2e..81326f0f1c6850278df87bad75e42828c099e016 100644
|
| --- a/remoting/ios/app/client_connection_view_controller.mm
|
| +++ b/remoting/ios/app/client_connection_view_controller.mm
|
| @@ -61,14 +61,12 @@ static const CGFloat kKeyboardAnimationTime = 0.3;
|
|
|
| __weak RemotingClient* weakClient = _client;
|
| [[RemotingService SharedInstance].authentication
|
| - callbackWithAccessToken:base::BindBlockArc(^(
|
| - remoting::OAuthTokenGetter::Status status,
|
| - const std::string& user_email,
|
| - const std::string& access_token) {
|
| + callbackWithAccessToken:^(RemotingAuthenticationStatus status,
|
| + NSString* userEmail, NSString* accessToken) {
|
| [weakClient connectToHost:hostInfo
|
| - username:base::SysUTF8ToNSString(user_email)
|
| - accessToken:base::SysUTF8ToNSString(access_token)];
|
| - })];
|
| + username:userEmail
|
| + accessToken:accessToken];
|
| + }];
|
|
|
| _remoteHostName = hostInfo.hostName;
|
|
|
|
|