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 #include "remoting/client/ios/session/remoting_client_session_delegate.h" | 9 #include "remoting/ios/session/remoting_client_session_delegate.h" |
10 | 10 |
11 #import "remoting/client/ios/session/remoting_client.h" | 11 #import "remoting/ios/session/remoting_client.h" |
12 | 12 |
13 #include "base/strings/sys_string_conversions.h" | 13 #include "base/strings/sys_string_conversions.h" |
14 #include "remoting/client/chromoting_client_runtime.h" | 14 #include "remoting/client/chromoting_client_runtime.h" |
15 | 15 |
16 using base::SysUTF8ToNSString; | 16 using base::SysUTF8ToNSString; |
17 | 17 |
18 namespace remoting { | 18 namespace remoting { |
19 | 19 |
20 RemotingClientSessonDelegate::RemotingClientSessonDelegate( | 20 RemotingClientSessonDelegate::RemotingClientSessonDelegate( |
21 RemotingClient* client) | 21 RemotingClient* client) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 [client_ handleExtensionMessageOfType:SysUTF8ToNSString(type) | 72 [client_ handleExtensionMessageOfType:SysUTF8ToNSString(type) |
73 message:SysUTF8ToNSString(message)]; | 73 message:SysUTF8ToNSString(message)]; |
74 } | 74 } |
75 | 75 |
76 base::WeakPtr<RemotingClientSessonDelegate> | 76 base::WeakPtr<RemotingClientSessonDelegate> |
77 RemotingClientSessonDelegate::GetWeakPtr() { | 77 RemotingClientSessonDelegate::GetWeakPtr() { |
78 return weak_factory_.GetWeakPtr(); | 78 return weak_factory_.GetWeakPtr(); |
79 } | 79 } |
80 | 80 |
81 } // namespace remoting | 81 } // namespace remoting |
OLD | NEW |