| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #if !defined(__has_feature) || !__has_feature(objc_arc) | 5 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 6 #error "This file requires ARC support." | 6 #error "This file requires ARC support." |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 #import "remoting/client/ios/session/remoting_client_session_delegate.h" | 9 #include "remoting/client/ios/session/remoting_client_session_delegate.h" |
| 10 |
| 11 #import "remoting/client/ios/session/remoting_client.h" |
| 10 | 12 |
| 11 #include "base/strings/sys_string_conversions.h" | 13 #include "base/strings/sys_string_conversions.h" |
| 12 #include "remoting/client/chromoting_client_runtime.h" | 14 #include "remoting/client/chromoting_client_runtime.h" |
| 13 | 15 |
| 14 using base::SysUTF8ToNSString; | 16 using base::SysUTF8ToNSString; |
| 15 | 17 |
| 16 namespace remoting { | 18 namespace remoting { |
| 17 | 19 |
| 18 RemotingClientSessonDelegate::RemotingClientSessonDelegate( | 20 RemotingClientSessonDelegate::RemotingClientSessonDelegate( |
| 19 RemotingClient* client) | 21 RemotingClient* client) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 [client_ handleExtensionMessageOfType:SysUTF8ToNSString(type) | 72 [client_ handleExtensionMessageOfType:SysUTF8ToNSString(type) |
| 71 message:SysUTF8ToNSString(message)]; | 73 message:SysUTF8ToNSString(message)]; |
| 72 } | 74 } |
| 73 | 75 |
| 74 base::WeakPtr<RemotingClientSessonDelegate> | 76 base::WeakPtr<RemotingClientSessonDelegate> |
| 75 RemotingClientSessonDelegate::GetWeakPtr() { | 77 RemotingClientSessonDelegate::GetWeakPtr() { |
| 76 return weak_factory_.GetWeakPtr(); | 78 return weak_factory_.GetWeakPtr(); |
| 77 } | 79 } |
| 78 | 80 |
| 79 } // namespace remoting | 81 } // namespace remoting |
| OLD | NEW |