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

Side by Side Diff: remoting/client/ios/bridge/client_proxy_delegate_wrapper.mm

Issue 2829853003: Remove crufty bridge code from old CRD iOS app. (Closed)
Patch Set: Fix remoting/display proto import issue. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #if !defined(__has_feature) || !__has_feature(objc_arc)
6 #error "This file requires ARC support."
7 #endif
8
9 #import "remoting/client/ios/bridge/client_proxy_delegate_wrapper.h"
10
11 @interface ClientProxyDelegateWrapper (Private)
12 - (id)initWithDelegate:(id<ClientProxyDelegate>)delegate;
13 @end
14
15 @implementation ClientProxyDelegateWrapper
16
17 @synthesize delegate = _delegate;
18
19 - (id)initWithDelegate:(id<ClientProxyDelegate>)delegate {
20 self = [super init];
21 if (self) {
22 _delegate = delegate;
23 }
24 return self;
25 }
26
27 + (id)wrapDelegate:(id<ClientProxyDelegate>)delegate {
28 return [[ClientProxyDelegateWrapper alloc] initWithDelegate:delegate];
29 }
30
31 @end
OLDNEW
« no previous file with comments | « remoting/client/ios/bridge/client_proxy_delegate_wrapper.h ('k') | remoting/client/ios/bridge/client_proxy_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698